systemd: use a more general install_if for x11 subpkg (MR 5118) (MR 5563)

[ci:skip-build] already built successfully in CI

xorg-server-common is a shared dep between xorg-server and xwayland, and
this tmpfile config is required for both to work. Without this tmpfile
config, Xwayland may fail to start. In the case of GNOME, this is a
fatal event.
This commit is contained in:
Clayton Craft 2024-05-07 16:11:03 -07:00 committed by Oliver Smith
parent 317692350b
commit 9c39fea9b0
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB

View file

@ -3,7 +3,7 @@
pkgname=systemd
pkgver=255.2
pkgrel=1
pkgrel=2
pkgdesc="System and service manager"
url="https://github.com/systemd/systemd"
arch="all !ppc64le !armhf !s390x" # blocked by pmboostrap not supporting
@ -386,7 +386,7 @@ journald_zcomp() {
x11() {
pkgdesc="systemd x11"
install_if="$pkgname=$pkgver-r$pkgrel xorg-server"
install_if="$pkgname=$pkgver-r$pkgrel xorg-server-common"
amove usr/lib/tmpfiles.d/x11.conf
amove etc/X11/xinit/xinitrc.d/50-systemd-user.sh