]> code.ossystems Code Review - openembedded-core.git/commitdiff
mingetty: lower the ALTERNATIVE_PRIORITY
authorChen Qi <Qi.Chen@windriver.com>
Thu, 6 Jun 2013 08:04:18 +0000 (16:04 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 25 Jun 2013 16:30:30 +0000 (17:30 +0100)
mingetty doesn't work with serial consoles. Currently, it has the
same ALTERNATIVE_PRIORITY with busybox. So if it is installed with
busybox together, it's possible that the getty is linked to the
mingetty, causing failures when we login to the serial consoles.

Lower the its ALTERNATIVE_PRIORITY to solve this problem.

[YOCTO #4207]

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/recipes-extended/mingetty/mingetty_1.08.bb

index 6c539574bdcff1911fbdf477160d8e627ce95ad8..fbd9cb4093f0a7d6e45b0efe1400de3190dc597b 100644 (file)
@@ -25,4 +25,4 @@ inherit update-alternatives
 ALTERNATIVE_${PN} = "getty"
 ALTERNATIVE_LINK_NAME[getty] = "${base_sbindir}/getty"
 ALTERNATIVE_TARGET[getty] = "${base_sbindir}/mingetty"
-ALTERNATIVE_PRIORITY = "50"
+ALTERNATIVE_PRIORITY = "10"