Problem on define Xorg in rpm-ostree module.

(Sorry for my bad english) So I want to installed bspwm in image, so I follow docs to define in recipe . Then I found that X11 is not installed, so then I add Xorg to rpm-ostree package. But It's still not installed in the image, all I can do is doing
rpm-ostree install Xorg
rpm-ostree install Xorg
after fresh iso install. So my question is why it won't work and how to resolve it (not doing Xorg install after iso install)? BTW,It's my current recipe.yml.
---
# yaml-language-server: $schema=https://schema.blue-build.org/recipe-v1.json
# image will be published to ghcr.io/<user>/<name>
name: reddos
# description will be included in the image's metadata
description: This is my personal OS image.

# the base image to build on top of (FROM) and the version tag to use
base-image: quay.io/fedora-ostree-desktops/base-atomic
image-version: 41 # latest version

# module configuration, executed in order
# you can include multiple instances of the same module
modules:
- type: files
files:
- source: system
destination: / # copies files/system/* (* means everything inside it) into your image's root folder /

- type: bling
install:
- rpmfusion # install RPMFusion repos, including tainted repos & disable negativo17 repos if installed

- type: akmods
nvidia: true

- type: rpm-ostree
install:
- bspwm
- sxhkd
- picom
- rofi
- polybar
- dunst
- fish
- kitty
- curl
- wget
- gcc
- Xorg

- type: default-flatpaks
notify: true # Send notification after install/uninstall is finished (true/false)
system:
# If no repo information is specified, Flathub will be used by default
install:
- io.github.zen_browser.zen
- com.spotify.Client
- com.discordapp.Discord
- com.visualstudio.code
- org.fcitx.Fcitx5
- org.fcitx.Fcitx5.Addon.McBopomofo
user: {} # Also add Flathub user repo, but no user packages

- type: fonts
fonts:
nerd-fonts:
- JetBrainsMono
- NerdFontsSymbolsOnly
google-fonts:
- Roboto
- Open Sans

- type: brew
nofile-limits: true # increase nofile limits
brew-analytics: false # disable telemetry

- type: signing # this sets up the proper policy & signing files for signed images to work fully
---
# yaml-language-server: $schema=https://schema.blue-build.org/recipe-v1.json
# image will be published to ghcr.io/<user>/<name>
name: reddos
# description will be included in the image's metadata
description: This is my personal OS image.

# the base image to build on top of (FROM) and the version tag to use
base-image: quay.io/fedora-ostree-desktops/base-atomic
image-version: 41 # latest version

# module configuration, executed in order
# you can include multiple instances of the same module
modules:
- type: files
files:
- source: system
destination: / # copies files/system/* (* means everything inside it) into your image's root folder /

- type: bling
install:
- rpmfusion # install RPMFusion repos, including tainted repos & disable negativo17 repos if installed

- type: akmods
nvidia: true

- type: rpm-ostree
install:
- bspwm
- sxhkd
- picom
- rofi
- polybar
- dunst
- fish
- kitty
- curl
- wget
- gcc
- Xorg

- type: default-flatpaks
notify: true # Send notification after install/uninstall is finished (true/false)
system:
# If no repo information is specified, Flathub will be used by default
install:
- io.github.zen_browser.zen
- com.spotify.Client
- com.discordapp.Discord
- com.visualstudio.code
- org.fcitx.Fcitx5
- org.fcitx.Fcitx5.Addon.McBopomofo
user: {} # Also add Flathub user repo, but no user packages

- type: fonts
fonts:
nerd-fonts:
- JetBrainsMono
- NerdFontsSymbolsOnly
google-fonts:
- Roboto
- Open Sans

- type: brew
nofile-limits: true # increase nofile limits
brew-analytics: false # disable telemetry

- type: signing # this sets up the proper policy & signing files for signed images to work fully
4 Replies
Luke Skywunker
You might have to install libx11 I'm not entirely sure why it wouldn't be in the ISO if it was generated from your image
bloodnighttw
bloodnighttwOP2d ago
Sadly, that don't work.
xyny
xyny2d ago
there's the @base-x package group i'm not sure if rpm-ostree supports package groups, but dnf5 should be available in the latest images so you can use that in a script snippet we're planning a dnf module already
bloodnighttw
bloodnighttwOP2d ago
OK let me try it unfortunately, don't work for me
Want results from more Discord servers?
Add your server