summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJussi Kukkonen <jussi.kukkonen@intel.com>2016-10-31 15:40:17 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-11-01 10:10:04 +0000
commitc1be2196e7ffb23b7b243ecd8aca1827cbdfa443 (patch)
tree7a678d039522c6979092ff266f99781dec985f53
parent8b9668cc70348600ba281291b567485302af9666 (diff)
downloadopenembedded-core-contrib-c1be2196e7ffb23b7b243ecd8aca1827cbdfa443.tar.gz
openembedded-core-contrib-c1be2196e7ffb23b7b243ecd8aca1827cbdfa443.tar.bz2
openembedded-core-contrib-c1be2196e7ffb23b7b243ecd8aca1827cbdfa443.zip
avahi: Don't remove users/groups in postrm
There's no way to ensure that files owned by the users aren't left on the system at postrm time: Removing the user would mean those files are now owned by a non-existing user, and later may be owned by a completely unrelated new user. [YOCTO #10442] Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-connectivity/avahi/avahi.inc10
1 files changed, 0 insertions, 10 deletions
diff --git a/meta/recipes-connectivity/avahi/avahi.inc b/meta/recipes-connectivity/avahi/avahi.inc
index cb3680272e..faa8741dc5 100644
--- a/meta/recipes-connectivity/avahi/avahi.inc
+++ b/meta/recipes-connectivity/avahi/avahi.inc
@@ -153,13 +153,3 @@ if [ -z "$D" ]; then
killall -q -HUP dbus-daemon || true
fi
}
-
-pkg_postrm_avahi-daemon () {
- deluser avahi || true
- delgroup avahi || true
-}
-
-pkg_postrm_avahi-autoipd () {
- deluser avahi-autoipd || true
- delgroup avahi-autoipd || true
-}