mingetty: lower the ALTERNATIVE_PRIORITY
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] (From OE-Core rev: 8cbae825c8a90874868bfe8cbf4e2b2f0d11b0de) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
d704b0360c
commit
8013f6e6ae
|
@ -25,4 +25,4 @@ inherit update-alternatives
|
||||||
ALTERNATIVE_${PN} = "getty"
|
ALTERNATIVE_${PN} = "getty"
|
||||||
ALTERNATIVE_LINK_NAME[getty] = "${base_sbindir}/getty"
|
ALTERNATIVE_LINK_NAME[getty] = "${base_sbindir}/getty"
|
||||||
ALTERNATIVE_TARGET[getty] = "${base_sbindir}/mingetty"
|
ALTERNATIVE_TARGET[getty] = "${base_sbindir}/mingetty"
|
||||||
ALTERNATIVE_PRIORITY = "50"
|
ALTERNATIVE_PRIORITY = "10"
|
||||||
|
|
Loading…
Reference in New Issue