Skip to content

Commit

Permalink
Removed request for xorg-x11-server, added placeholder which allows it
Browse files Browse the repository at this point in the history
  • Loading branch information
mchf committed Jan 8, 2025
1 parent e9dc62a commit 57949e7
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
13 changes: 13 additions & 0 deletions live/root/usr/bin/X/info.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
This file is just placeholder for creating content in /usr/bin/X/ directory.

The directory is used to trick display-manager.service (script) to think that
xorg-x11-server is installed. If the directory is not existing the above
script/service ends with error reporting status=6/NOTCONFIGURED. We want to
use Wayland (only), there is no sense in installing X11 server too. As it is
not mentioned as direct dependency in any gnome and wayland related packages
and kind of dependency happens only due to that check, we trick it by creating
the directory.

This is status at time of initial Wayland / GNOME Shell deployment in Agama's
live iso. If the check is removed in the future feel free to drop whole
/usr/bin/X from the image.
2 changes: 0 additions & 2 deletions live/src/agama-installer.kiwi
Original file line number Diff line number Diff line change
Expand Up @@ -148,11 +148,9 @@
<!-- xorg-x11-server is needed even in wayland system. It doesn't
need to run, but has to be present due to some dependencies in
some scripts -->
<package name="xorg-x11-server"/>
<package name="patterns-base-basesystem"/>
<package name="patterns-gnome-gnome"/>
<package name="gnome-kiosk"/>
<package name="gnome-session-wayland"/>

<package name="psmisc"/>
<package name="joe"/>
Expand Down

0 comments on commit 57949e7

Please sign in to comment.