diff options
author | Jussi Kukkonen <jussi.kukkonen@intel.com> | 2016-10-31 15:40:18 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-11-04 12:50:54 +0000 |
commit | 5354a4a315550f71686af17b42818cb1976a7f19 (patch) | |
tree | 6a1433ce4bf6e87c2d391b021a3ac3016ffdf0cb /meta/recipes-devtools | |
parent | b1e1c12a3f4d6a06aaf2ed18b1f2a9a7de5f0198 (diff) | |
download | poky-5354a4a315550f71686af17b42818cb1976a7f19.tar.gz |
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>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r-- | 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 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} \ | |||
65 | ${systemd_unitdir}/system/distcc.service" | 65 | ${systemd_unitdir}/system/distcc.service" |
66 | FILES_distcc-distmon-gnome = " ${bindir}/distccmon-gnome \ | 66 | FILES_distcc-distmon-gnome = " ${bindir}/distccmon-gnome \ |
67 | ${datadir}/distcc" | 67 | ${datadir}/distcc" |
68 | |||
69 | pkg_postrm_${PN} () { | ||
70 | deluser distcc || true | ||
71 | } | ||