[oe-commits] [Bug 5476] New: [patch] add missing `update-alternatives --remove' in pkg_prerm_util-linux-ng
bugzilla-daemon at git.openembedded.org
bugzilla-daemon at git.openembedded.org
Sat Sep 11 10:37:52 UTC 2010
http://bugs.openembedded.org/show_bug.cgi?id=5476
Summary: [patch] add missing `update-alternatives --remove' in
pkg_prerm_util-linux-ng
Product: Openembedded
Version: org.openembedded.dev
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: trivial
Priority: P3
Component: unspecified
AssignedTo: openembedded-commits at lists.openembedded.org
ReportedBy: koreylu at gmail.com
CC: koreylu at gmail.com
util-linux-ng installs alternative of hexdump, setsid and chrt in postinst, but
doesn't remove them in prerm. A hidden trouble if we uninstall that package?
Here is a trivial patch.
diff --git a/recipes/util-linux-ng/util-linux-ng.inc
b/recipes/util-linux-ng/util-linux-ng.inc
index cbdf68d..ece5d48 100644
--- a/recipes/util-linux-ng/util-linux-ng.inc
+++ b/recipes/util-linux-ng/util-linux-ng.inc
@@ -223,7 +223,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
}
--
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Openembedded-commits
mailing list