gdm: create env.d

This commit is contained in:
oreo639 2022-09-13 11:27:34 -07:00 committed by Michal Vasilek
parent 8c09f5ed0d
commit fb34aecfeb

View file

@ -1,7 +1,7 @@
# Template file for 'gdm'
pkgname=gdm
version=42.0
revision=1
revision=2
build_helper="gir"
build_style=meson
configure_args="
@ -10,7 +10,8 @@ configure_args="
-Dplymouth=enabled -Dxauth-dir=/run/gdm -Dpid-file=/run/gdm/gdm.pid
-Dsystemd-journal=false -Dinitial-vt=7 -Dwayland-support=true
-Dselinux=disabled -Dlibaudit=disabled
-Dsystemdsystemunitdir=/tmp -Dsystemduserunitdir=/tmp"
-Dsystemdsystemunitdir=/usr/lib/systemd/system
-Dsystemduserunitdir=/usr/lib/systemd/user"
hostmakedepends="dconf gettext itstool pkg-config"
makedepends="accountsservice-devel elogind-devel gettext-devel glib-devel
iso-codes libSM-devel libcanberra-devel nss-devel pam-devel upower-devel
@ -32,6 +33,9 @@ conf_files="
/etc/pam.d/gdm-launch-environment
/etc/pam.d/gdm-password
/etc/pam.d/gdm-smartcard"
make_dirs="
/usr/share/gdm/env.d 0755 root root
/etc/gdm/env.d 0755 root root"
# Create the 'gdm' system user/group.
system_accounts="gdm"
gdm_homedir="/var/lib/gdm"
@ -52,7 +56,6 @@ post_install() {
vsed -i "s/pam_systemd\.so/pam_elogind.so/" "$f"
fi
done
rm -rf ${DESTDIR}/tmp
# runit service
vsv gdm