[oe-commits] [openembedded-core] 03/03: distcc: Don't remove users/groups in postrm

git at git.openembedded.org git at git.openembedded.org
Tue Nov 1 10:10:45 UTC 2016


rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 776370efb9fa48b82ac991e3d001accd122d611b
Author: Jussi Kukkonen <jussi.kukkonen at intel.com>
AuthorDate: Mon Oct 31 15:40:18 2016 +0200

    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 <jussi.kukkonen at intel.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/recipes-devtools/distcc/distcc_3.2.bb | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/meta/recipes-devtools/distcc/distcc_3.2.bb b/meta/recipes-devtools/distcc/distcc_3.2.bb
index c084ad2..ea3d7c1 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
-}

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list