[OE-core] [PATCH] util-linux: Change ALTERNATIVE_PRIORITY above busybox

Richard Purdie richard.purdie at linuxfoundation.org
Thu Feb 4 11:32:25 UTC 2016


http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=8de5315bd519c21a114bc88b88c6caff32831c03

changed util-linux priority to match busybox (50) which means sometimes
one and sometimes the other wins in image installs (depending on the 
installation order which is package manager specific). We want 
util-linux to win compared to busybox.

The old level (100) does conflict with other utils so pick 80 as a
good intermediate value.

Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

diff --git a/meta/recipes-core/util-linux/util-linux.inc b/meta/recipes-core/util-linux/util-linux.inc
index f57284b..08ca040 100644
--- a/meta/recipes-core/util-linux/util-linux.inc
+++ b/meta/recipes-core/util-linux/util-linux.inc
@@ -184,7 +184,7 @@ do_install_append_class-native () {
 	rm -f ${D}${base_sbindir}/nologin
 }
 
-ALTERNATIVE_PRIORITY = "50"
+ALTERNATIVE_PRIORITY = "80"
 
 ALTERNATIVE_${PN}  = "dmesg kill more mkswap blockdev pivot_root switch_root"
 ALTERNATIVE_${PN} += "mkfs.minix hexdump last lastb logger mesg renice wall"





More information about the Openembedded-core mailing list