util-linux-ng: Correct vi error
PATCH 1/1 util-linux-ng: Correct vi error
Commit bbd436a98df5d4a439e519651c38fb48d81e5a78 appears to have added a via error to "pkg_prerm_${PN}":
- update-alternatives --remove pivot_root pivot_root.${PN}
+ update-alternatives --remove pivot_root pivot_root.${PN}i
Signed-off-by Martyn Welch <[email protected]>
---
recipes/util-linux-ng/util-linux-ng.inc | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
recipes/util-linux-ng/util-linux-ng.inc +2 -2
@@ -7,7 +7,7 @@ inherit autotools DEFAULT_PREFERENCE = "-1" -INC_PR = "r15" +INC_PR = "r16" # allows for a release candidate RC ?= ""
@@ -211,7 +211,7 @@ pkg_postinst_${PN} () { pkg_prerm_${PN} () { test -x ${base_sbindir}/pivot_root.${PN} && \ - update-alternatives --remove pivot_root pivot_root.${PN}i + 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 ; do update-alternatives --remove $i $i.${PN}
--
Martyn Welch (Principal Software Engineer) | Registered in England and GE Intelligent Platforms | Wales (3828642) at 100 T +44(0)127322748 | Barbirolli Square, Manchester, E [email protected] | M2 3AB VAT:GB 927559189