mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 20:59:41 +02:00
sysvinit-inittab_xen.inc: fix hypervisor console
This commit switches over to using existing SERIAL_CONSOLES mechanism for hvc0 inittab entry generation. This then results in /bin/start_getty wrapper being used, which avoids the getty failure seen when running a xen capable rootfs natively on linux. Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
This commit is contained in:
parent
d19fda3743
commit
50cdecca7b
|
@ -1,4 +1 @@
|
||||||
do_install_append() {
|
SERIAL_CONSOLES_append = "${@bb.utils.contains('DISTRO_FEATURES', 'xen', ' 115200;hvc0', '', d)}"
|
||||||
echo "" >> ${D}${sysconfdir}/inittab
|
|
||||||
echo "X0:12345:respawn:/sbin/getty 115200 hvc0" >> ${D}${sysconfdir}/inittab
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user