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>
This commit is contained in:
parent
b1e1c12a3f
commit
5354a4a315
|
@ -65,7 +65,3 @@ FILES_${PN} = " ${sysconfdir} \
|
||||||
${systemd_unitdir}/system/distcc.service"
|
${systemd_unitdir}/system/distcc.service"
|
||||||
FILES_distcc-distmon-gnome = " ${bindir}/distccmon-gnome \
|
FILES_distcc-distmon-gnome = " ${bindir}/distccmon-gnome \
|
||||||
${datadir}/distcc"
|
${datadir}/distcc"
|
||||||
|
|
||||||
pkg_postrm_${PN} () {
|
|
||||||
deluser distcc || true
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in New Issue