Patchwork [7/8] mingetty: lower the ALTERNATIVE_PRIORITY

login
register
mail settings
Submitter Qi.Chen@windriver.com
Date June 7, 2013, 6:14 a.m.
Message ID <3eb78498510dd93a0e697ac10bf7eccb2b825ac2.1370585547.git.Qi.Chen@windriver.com>
Download mbox | patch
Permalink /patch/51287/
State Accepted
Commit 8013f6e6aef28359d72ce3b21d5d704e19ceee69
Headers show

Comments

Qi.Chen@windriver.com - June 7, 2013, 6:14 a.m.
From: Chen Qi <Qi.Chen@windriver.com>

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>
---
 meta/recipes-extended/mingetty/mingetty_1.08.bb |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/meta/recipes-extended/mingetty/mingetty_1.08.bb b/meta/recipes-extended/mingetty/mingetty_1.08.bb
index 6c53957..fbd9cb4 100644
--- a/meta/recipes-extended/mingetty/mingetty_1.08.bb
+++ b/meta/recipes-extended/mingetty/mingetty_1.08.bb
@@ -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"