gdm: create /run/gdm via systemd's tmpfiles.d(5).

This commit is contained in:
Juan RP 2012-06-27 10:22:01 +02:00
parent 757dde83dd
commit 10862bbefc
2 changed files with 6 additions and 2 deletions

View File

@ -0,0 +1 @@
d /run/gdm 0711 root gdm -

View File

@ -1,7 +1,7 @@
# Template file for 'gdm'
pkgname=gdm
version=3.4.1
revision=3
revision=4
distfiles="${GNOME_SITE}/$pkgname/3.4/$pkgname-$version.tar.xz"
build_style=gnu-configure
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
--with-xauth-dir=/run/gdm --with-pid-file=/run/gdm/gdm.pid
--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"
subpackages="gdm-devel"
gtk_iconcache_dirs="/usr/share/icons/hicolor"
@ -63,6 +65,7 @@ post_install() {
done
# Install systemd service.
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 700 ${DESTDIR}/var/lib/gdm/.config/dconf