]> code.ossystems Code Review - openembedded-core.git/commitdiff
distcc: Don't remove users/groups in postrm
authorJussi Kukkonen <jussi.kukkonen@intel.com>
Mon, 31 Oct 2016 13:40:18 +0000 (15:40 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 1 Nov 2016 10:10:04 +0000 (10:10 +0000)
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.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/distcc/distcc_3.2.bb

index c084ad2b7371eeabb1908ed94dad4343b9a45c38..ea3d7c10be86ff244a40847ce2380b8cfcf7a93b 100644 (file)
@@ -65,7 +65,3 @@ FILES_${PN} = " ${sysconfdir} \
                ${systemd_unitdir}/system/distcc.service"
 FILES_distcc-distmon-gnome = "  ${bindir}/distccmon-gnome \
                                ${datadir}/distcc"
-
-pkg_postrm_${PN} () {
-       deluser distcc || true
-}