summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Bénard <eric@eukrea.com>2010-09-13 12:22:06 +0200
committerEric Bénard <eric@eukrea.com>2010-09-13 12:40:14 +0200
commit79e96b708cb2356a5959bbee9f7cf8f56ca09b3a (patch)
tree4d7b87e9f594c0254ba028f2392d83ad5deedc8d
parent506634928d13725b28caf4500316dc5c3da08eda (diff)
downloadopenembedded-79e96b708cb2356a5959bbee9f7cf8f56ca09b3a.tar.gz
util-linux-ng: add missing `update-alternatives --remove' in pkg_prerm
* util-linux-ng installs alternative of hexdump, setsid and chrt in postinst, but doesn't remove them in prerm leading to broken simlinks * this patch closes bug 5476 http://bugs.openembedded.org/show_bug.cgi?id=5476 From: Korey Lu <koreylu@gmail.com> Signed-off-by: Eric Bénard <eric@eukrea.com>
-rw-r--r--recipes/util-linux-ng/util-linux-ng.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes/util-linux-ng/util-linux-ng.inc b/recipes/util-linux-ng/util-linux-ng.inc
index 577ba50782..35502f3e7a 100644
--- a/recipes/util-linux-ng/util-linux-ng.inc
+++ b/recipes/util-linux-ng/util-linux-ng.inc
@@ -230,7 +230,7 @@ pkg_prerm_${PN} () {
test -x ${base_sbindir}/pivot_root.${PN} && \
update-alternatives --remove pivot_root pivot_root.${PN}
- for i in dmesg kill more halt hwclock mkswap reboot shutdown sln mkfs.minix fsck.minix hecdump last logger mesg renice wall vipw vigr chfn newgrp chsh login reset; do
+ for i in dmesg kill more halt hwclock mkswap reboot shutdown sln mkfs.minix fsck.minix hexdump setsid chrt last logger mesg renice wall vipw vigr chfn newgrp chsh login reset; do
update-alternatives --remove $i $i.${PN}
done
}