diff options
author | Jeremy Laine <jeremy.laine@m4x.org> | 2008-07-02 17:18:59 +0000 |
---|---|---|
committer | Jeremy Laine <jeremy.laine@m4x.org> | 2008-07-02 17:18:59 +0000 |
commit | 08a6e84d3ad35bf232bd5d01b82f939904730a61 (patch) | |
tree | 05fa5fffbac84083057eea9f17e82747de566d6b /packages/hal/hal_0.5.9.1.bb | |
parent | b85f5d16a791a5f65bc10be3b257b207821681ba (diff) |
hal: create volatiles *after* creating the haldaemon user
Diffstat (limited to 'packages/hal/hal_0.5.9.1.bb')
-rw-r--r-- | packages/hal/hal_0.5.9.1.bb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/hal/hal_0.5.9.1.bb b/packages/hal/hal_0.5.9.1.bb index 3d2ba155b5..8bd193c40a 100644 --- a/packages/hal/hal_0.5.9.1.bb +++ b/packages/hal/hal_0.5.9.1.bb @@ -7,7 +7,7 @@ DEPENDS = "virtual/kernel dbus-glib udev intltool-native expat libusb-compat" RDEPENDS_${PN} += "udev hal-info" RRECOMMENDS_${PN} += "udev-utils" -PR = "r7" +PR = "r8" SRC_URI = "http://freedesktop.org/~david/dist/hal-${PV}.tar.gz \ file://configure_fix.patch;patch=1 \ @@ -52,11 +52,11 @@ pkg_postinst_hal () { exit 1 fi - /etc/init.d/populate-volatile.sh update - grep haldaemon /etc/group || addgroup haldaemon grep haldaemon /etc/passwd || adduser --disabled-password --system --home /var/run/hald --no-create-home haldaemon --ingroup haldaemon -g HAL + /etc/init.d/populate-volatile.sh update + DBUSPID=`pidof dbus-daemon` if [ "x$DBUSPID" != "x" ]; then |