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_git.bb | |
parent | b85f5d16a791a5f65bc10be3b257b207821681ba (diff) |
hal: create volatiles *after* creating the haldaemon user
Diffstat (limited to 'packages/hal/hal_git.bb')
-rw-r--r-- | packages/hal/hal_git.bb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/hal/hal_git.bb b/packages/hal/hal_git.bb index 659ab8eb6c..49ecfde9ea 100644 --- a/packages/hal/hal_git.bb +++ b/packages/hal/hal_git.bb @@ -14,7 +14,7 @@ SRC_URI = "git://anongit.freedesktop.org/hal/;protocol=git \ file://99_hal" PV = "0.5.9.1+git${SRCDATE}" -PR = "r5" +PR = "r6" S = "${WORKDIR}/git" @@ -53,11 +53,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 |