From: Jussi Kukkonen Date: Mon, 31 Oct 2016 13:40:18 +0000 (+0200) Subject: distcc: Don't remove users/groups in postrm X-Git-Tag: uninative-1.5~1545 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=776370efb9fa48b82ac991e3d001accd122d611b;p=openembedded-core.git distcc: 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. Signed-off-by: Jussi Kukkonen Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-devtools/distcc/distcc_3.2.bb b/meta/recipes-devtools/distcc/distcc_3.2.bb index c084ad2b73..ea3d7c10be 100644 --- a/meta/recipes-devtools/distcc/distcc_3.2.bb +++ b/meta/recipes-devtools/distcc/distcc_3.2.bb @@ -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 -}