[oe] [PATCH] util-linux-ng: Correct vi error

Martyn Welch martyn.welch at ge.com
Thu Mar 11 15:41:03 UTC 2010


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 at ge.com>
---

 recipes/util-linux-ng/util-linux-ng.inc |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/recipes/util-linux-ng/util-linux-ng.inc b/recipes/util-linux-ng/util-linux-ng.inc
index 3073cfe..1c6e8a8 100644
--- a/recipes/util-linux-ng/util-linux-ng.inc
+++ b/recipes/util-linux-ng/util-linux-ng.inc
@@ -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 martyn.welch at ge.com                        |   M2 3AB  VAT:GB 927559189




More information about the Openembedded-devel mailing list