summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJussi Kukkonen <jussi.kukkonen@intel.com>2016-10-31 15:40:18 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-11-01 10:10:04 +0000
commit776370efb9fa48b82ac991e3d001accd122d611b (patch)
tree84222b73e913522989e104331e969551937cd03a
parentc1be2196e7ffb23b7b243ecd8aca1827cbdfa443 (diff)
downloadopenembedded-core-contrib-776370efb9fa48b82ac991e3d001accd122d611b.tar.gz
openembedded-core-contrib-776370efb9fa48b82ac991e3d001accd122d611b.tar.bz2
openembedded-core-contrib-776370efb9fa48b82ac991e3d001accd122d611b.zip
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@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/distcc/distcc_3.2.bb4
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 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
-}