util-linux-ng: Correct vi error
authorMartyn Welch <martyn.welch@ge.com>
Thu, 11 Mar 2010 05:41:03 +0000 (05:41 +0000)
committerKoen Kooi <koen@openembedded.org>
Thu, 11 Mar 2010 15:58:14 +0000 (16:58 +0100)
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 <martyn.welch@ge.com>
Signed-off-by: Koen Kooi <koen@openembedded.org>
recipes/util-linux-ng/util-linux-ng.inc

index 3073cfe..1c6e8a8 100644 (file)
@@ -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}