summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/avahi/avahi_0.2.bb7
-rw-r--r--packages/tslib/tslib_cvs.bb2
2 files changed, 6 insertions, 3 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
}
diff --git a/packages/tslib/tslib_cvs.bb b/packages/tslib/tslib_cvs.bb
index d5a4c7ed30..5c52147e1c 100644
--- a/packages/tslib/tslib_cvs.bb
+++ b/packages/tslib/tslib_cvs.bb
@@ -1,7 +1,7 @@
SECTION = "base"
DESCRIPTION = "tslib is a touchscreen access library."
PV = "0.0cvs${CVSDATE}"
-PR = "r30"
+PR = "r31"
SRC_URI_OVERRIDES_PACKAGE_ARCH = "0"
PACKAGE_ARCH_tslib-conf = "${MACHINE}"