mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-01 02:12:55 +02:00
gdm: create env.d
This commit is contained in:
parent
8c09f5ed0d
commit
fb34aecfeb
1 changed files with 6 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'gdm'
|
# Template file for 'gdm'
|
||||||
pkgname=gdm
|
pkgname=gdm
|
||||||
version=42.0
|
version=42.0
|
||||||
revision=1
|
revision=2
|
||||||
build_helper="gir"
|
build_helper="gir"
|
||||||
build_style=meson
|
build_style=meson
|
||||||
configure_args="
|
configure_args="
|
||||||
|
@ -10,7 +10,8 @@ configure_args="
|
||||||
-Dplymouth=enabled -Dxauth-dir=/run/gdm -Dpid-file=/run/gdm/gdm.pid
|
-Dplymouth=enabled -Dxauth-dir=/run/gdm -Dpid-file=/run/gdm/gdm.pid
|
||||||
-Dsystemd-journal=false -Dinitial-vt=7 -Dwayland-support=true
|
-Dsystemd-journal=false -Dinitial-vt=7 -Dwayland-support=true
|
||||||
-Dselinux=disabled -Dlibaudit=disabled
|
-Dselinux=disabled -Dlibaudit=disabled
|
||||||
-Dsystemdsystemunitdir=/tmp -Dsystemduserunitdir=/tmp"
|
-Dsystemdsystemunitdir=/usr/lib/systemd/system
|
||||||
|
-Dsystemduserunitdir=/usr/lib/systemd/user"
|
||||||
hostmakedepends="dconf gettext itstool pkg-config"
|
hostmakedepends="dconf gettext itstool pkg-config"
|
||||||
makedepends="accountsservice-devel elogind-devel gettext-devel glib-devel
|
makedepends="accountsservice-devel elogind-devel gettext-devel glib-devel
|
||||||
iso-codes libSM-devel libcanberra-devel nss-devel pam-devel upower-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-launch-environment
|
||||||
/etc/pam.d/gdm-password
|
/etc/pam.d/gdm-password
|
||||||
/etc/pam.d/gdm-smartcard"
|
/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.
|
# Create the 'gdm' system user/group.
|
||||||
system_accounts="gdm"
|
system_accounts="gdm"
|
||||||
gdm_homedir="/var/lib/gdm"
|
gdm_homedir="/var/lib/gdm"
|
||||||
|
@ -52,7 +56,6 @@ post_install() {
|
||||||
vsed -i "s/pam_systemd\.so/pam_elogind.so/" "$f"
|
vsed -i "s/pam_systemd\.so/pam_elogind.so/" "$f"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
rm -rf ${DESTDIR}/tmp
|
|
||||||
|
|
||||||
# runit service
|
# runit service
|
||||||
vsv gdm
|
vsv gdm
|
||||||
|
|
Loading…
Add table
Reference in a new issue