mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-02 02:42:56 +02:00
gdm: create /run/gdm via systemd's tmpfiles.d(5).
This commit is contained in:
parent
757dde83dd
commit
10862bbefc
2 changed files with 6 additions and 2 deletions
1
srcpkgs/gdm/files/gdm.tmpfiles.d
Normal file
1
srcpkgs/gdm/files/gdm.tmpfiles.d
Normal file
|
@ -0,0 +1 @@
|
||||||
|
d /run/gdm 0711 root gdm -
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'gdm'
|
# Template file for 'gdm'
|
||||||
pkgname=gdm
|
pkgname=gdm
|
||||||
version=3.4.1
|
version=3.4.1
|
||||||
revision=3
|
revision=4
|
||||||
distfiles="${GNOME_SITE}/$pkgname/3.4/$pkgname-$version.tar.xz"
|
distfiles="${GNOME_SITE}/$pkgname/3.4/$pkgname-$version.tar.xz"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--disable-schemas-compile --disable-scrollkeeper
|
configure_args="--disable-schemas-compile --disable-scrollkeeper
|
||||||
|
@ -9,7 +9,9 @@ configure_args="--disable-schemas-compile --disable-scrollkeeper
|
||||||
--disable-static --without-systemd --with-console-kit
|
--disable-static --without-systemd --with-console-kit
|
||||||
--with-xauth-dir=/run/gdm --with-pid-file=/run/gdm/gdm.pid
|
--with-xauth-dir=/run/gdm --with-pid-file=/run/gdm/gdm.pid
|
||||||
--with-screenshot-dir=/var/lib/gdm/greeter"
|
--with-screenshot-dir=/var/lib/gdm/greeter"
|
||||||
makedepends="pkg-config intltool which gnome-doc-utils gobject-introspection pam-devel nss-devel accountsservice-devel gtk+3-devel upower-devel libcanberra-devel libXrandr-devel libxklavier-devel at-spi2-core-devel"
|
makedepends="pkg-config intltool which gnome-doc-utils gobject-introspection
|
||||||
|
pam-devel nss-devel accountsservice-devel gtk+3-devel upower-devel
|
||||||
|
libcanberra-devel libXrandr-devel libxklavier-devel at-spi2-core-devel"
|
||||||
fulldepends="xrdb dconf hicolor-icon-theme polkit-gnome xorg-server metacity gnome-session gnome-settings-daemon"
|
fulldepends="xrdb dconf hicolor-icon-theme polkit-gnome xorg-server metacity gnome-session gnome-settings-daemon"
|
||||||
subpackages="gdm-devel"
|
subpackages="gdm-devel"
|
||||||
gtk_iconcache_dirs="/usr/share/icons/hicolor"
|
gtk_iconcache_dirs="/usr/share/icons/hicolor"
|
||||||
|
@ -63,6 +65,7 @@ post_install() {
|
||||||
done
|
done
|
||||||
# Install systemd service.
|
# Install systemd service.
|
||||||
vinstall ${FILESDIR}/gdm.service 644 lib/systemd/system
|
vinstall ${FILESDIR}/gdm.service 644 lib/systemd/system
|
||||||
|
vinstall ${FILESDIR}/gdm.tmpfiles.d 644 usr/lib/tmpfiles.d gdm.conf
|
||||||
|
|
||||||
chmod 1770 ${DESTDIR}/var/log/gdm
|
chmod 1770 ${DESTDIR}/var/log/gdm
|
||||||
chmod 700 ${DESTDIR}/var/lib/gdm/.config/dconf
|
chmod 700 ${DESTDIR}/var/lib/gdm/.config/dconf
|
||||||
|
|
Loading…
Add table
Reference in a new issue