[gnome-continuous-yocto/gnomeostree-3.28-rocko: 3178/8267] distcc: Don't remove users/groups in postrm



commit 5354a4a315550f71686af17b42818cb1976a7f19
Author: Jussi Kukkonen <jussi kukkonen intel com>
Date:   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.
    
    (From OE-Core rev: 776370efb9fa48b82ac991e3d001accd122d611b)
    
    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 |    4 ----
 1 files changed, 0 insertions(+), 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
-}


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]