gdm: test if dbus daemon is ready before starting gdm

This commit is contained in:
Enno Boland 2015-09-29 17:44:10 +02:00
parent b9d6f5992e
commit 0d609be796
2 changed files with 3 additions and 2 deletions

View file

@ -1,4 +1,5 @@
#!/bin/sh
sv check dbus >/dev/null || exit 1
# Test if dbus is running
dbus-send --system / org.freedesktop.DBus.Peer.Ping >/dev/null 2>&1 || exit 1
[ ! -d /run/gdm ] && mkdir -m0711 -p /run/gdm && chown root:gdm /run/gdm
exec gdm

View file

@ -1,7 +1,7 @@
# Template file for 'gdm'
pkgname=gdm
version=3.16.4
revision=1
revision=2
patch_args="-Np1"
build_style=gnu-configure
configure_args="$(vopt_enable gir introspection)