Skip to contentSkip to conversation

util-linux: Change ALTERNATIVE_PRIORITY above busybox

PATCH New Richard Purdie 1 participant 1 message Feb 4, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 util-linux: Change ALTERNATIVE_PRIORITY above busybox

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.

meta/recipes-core/util-linux/util-linux.inc +1 -1
index f57284b..08ca040 100644
@@ -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"