xserver-nodm-init: rdepend on dbus-wait and wait for the desktop signal before continuing boot

git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4961 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
Ross Burton
2008-07-25 15:24:21 +00:00
parent a228c3118f
commit 1befcc0355
2 changed files with 4 additions and 2 deletions

View File

@@ -2,7 +2,8 @@ DESCRIPTION = "Simple Xserver Init Script (no dm)"
LICENSE = "GPL"
SECTION = "x11"
PRIORITY = "optional"
PR = "r14"
PR = "r15"
RDEPENDS = "dbus-wait"
SRC_URI = "file://xserver-nodm"
S = ${WORKDIR}

View File

@@ -27,7 +27,8 @@ case "$1" in
. /etc/profile
echo "Starting Xserver"
/etc/X11/Xserver &
sleep 20
# Wait for the desktop to say its finished loading
dbus-wait org.matchbox_project.desktop Loaded
;;
stop)