gdm: test if dbus daemon is ready before starting gdm
This commit is contained in:
parent
b9d6f5992e
commit
0d609be796
2 changed files with 3 additions and 2 deletions
|
@ -1,4 +1,5 @@
|
||||||
#!/bin/sh
|
#!/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
|
[ ! -d /run/gdm ] && mkdir -m0711 -p /run/gdm && chown root:gdm /run/gdm
|
||||||
exec gdm
|
exec gdm
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'gdm'
|
# Template file for 'gdm'
|
||||||
pkgname=gdm
|
pkgname=gdm
|
||||||
version=3.16.4
|
version=3.16.4
|
||||||
revision=1
|
revision=2
|
||||||
patch_args="-Np1"
|
patch_args="-Np1"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="$(vopt_enable gir introspection)
|
configure_args="$(vopt_enable gir introspection)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue