From: Richard Purdie Date: Wed, 30 Jan 2008 16:18:13 +0000 (+0000) Subject: qemu-config: Fix poky-chroot-launch to stop dbus system bus correctly X-Git-Tag: 2011-1~9801 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=8656619817b8f0b2076e0464e23a642bb84afb87;p=openembedded-core.git qemu-config: Fix poky-chroot-launch to stop dbus system bus correctly git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3629 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- diff --git a/meta/packages/oh/qemu-config.bb b/meta/packages/oh/qemu-config.bb index 3eccab99e1..6aed63b338 100644 --- a/meta/packages/oh/qemu-config.bb +++ b/meta/packages/oh/qemu-config.bb @@ -1,7 +1,7 @@ DESCRIPTION = "Adds scripts to use distcc on the host system under qemu" LICENSE = "GPL" RDEPENDS = "distcc task-poky-nfs-server fakeroot oprofileui-server rsync bash" -PR = "r11" +PR = "r12" SRC_URI = "file://distcc.sh \ file://anjuta-remote-run \ diff --git a/meta/packages/oh/qemu-config/poky-chroot-launch b/meta/packages/oh/qemu-config/poky-chroot-launch index 63d98d9361..dbc432b66c 100755 --- a/meta/packages/oh/qemu-config/poky-chroot-launch +++ b/meta/packages/oh/qemu-config/poky-chroot-launch @@ -18,9 +18,9 @@ done bash -l +# The --user option in the dbus stop script breaks under chroot +/sbin/start-stop-daemon --stop --pidfile /var/run/dbus/pid + for S in $SERVICES; do fakeroot /etc/init.d/$S stop done - -# The --user option in the dbus stop script breaks under chroot -/sbin/start-stop-daemon --stop --pidfile /var/run/dbus/pid