summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2005-09-04 21:44:13 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-09-04 21:44:13 +0000
commitd3fc3adfe82f006b9293c16fc2e6cc338e0b830c (patch)
tree34c59841a644609ae8c378e209ffb53f8bda9579
parent3ea89e54bd0f258941c1e87d07bb09fecbdae7e3 (diff)
parent469ef1f2c643ef65782d4330bd3652a201475a99 (diff)
merge of 7520de304a270fbab16bd5fe46ec31e3fe275d51
and 83d783506adf2e4fdcf6dc9a8381006b0756ed73
-rw-r--r--packages/avahi/avahi_0.2.bb7
1 files changed, 5 insertions, 2 deletions
diff --git a/packages/avahi/avahi_0.2.bb b/packages/avahi/avahi_0.2.bb
index 8added4ed2..c12ee70653 100644
--- a/packages/avahi/avahi_0.2.bb
+++ b/packages/avahi/avahi_0.2.bb
@@ -5,7 +5,7 @@ DEPENDS = "expat libdaemon dbus-0.34"
RRECOMMENDS = "libnss-mdns"
SECTION = "net"
PRIORITY = "optional"
-PR = "r1"
+PR = "r2"
SRC_URI = "http://www.freedesktop.org/~lennart/avahi-${PV}.tar.gz"
@@ -39,10 +39,13 @@ INITSCRIPT_NAME_avahi-dnsconfd = "avahi-dnsconfd"
INITSCRIPT_PARAMS_avahi-dnsconfd = "defaults 22 19"
pkg_postinst_avahi-daemon () {
- grep avahi /etc/passwd || adduser --disabled-password --system --home /var/run/avahi-daemon --no-create-home avahi -g Avahi
+ grep avahi /etc/group || addgroup avahi
+ grep avahi /etc/passwd || adduser --disabled-password --system --home /var/run/avahi-daemon --no-create-home avahi --ingroup avahi -g Avahi
+ /etc/init.d/dbus-1 force-reload
}
pkg_postrm_avahi-daemon () {
deluser avahi || true
+ delgroup avahi || true
}