sysvinit-inittab_xen.inc: fix hypervisor console
PATCH 1/1 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 <[email protected]>
--- recipes-core/sysvinit/sysvinit-inittab_xen.inc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)
recipes-core/sysvinit/sysvinit-inittab_xen.inc +1 -4
@@ -1,4 +1 @@ -do_install_append() { - echo "" >> ${D}${sysconfdir}/inittab - echo "X0:12345:respawn:/sbin/getty 115200 hvc0" >> ${D}${sysconfdir}/inittab -} +SERIAL_CONSOLES_append = "${@bb.utils.contains('DISTRO_FEATURES', 'xen', ' 115200;hvc0', '', d)}"
Signature · 1 line
2.7.4
Quoted 5 lines · Manjukumar Matha
This commit switches over to using existing
SERIAL_CONSOLESmechanism for hvc0 inittab entry generation. This then results in/bin/start_gettywrapper being used, which avoids the getty failure seen when running a xen capable rootfs natively on linux.
merged.
Bruce
Quoted 24 lines
Signed-off-by Manjukumar Matha <[email protected]>--- recipes-core/sysvinit/sysvinit-inittab_xen.inc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)recipes-core/sysvinit/sysvinit-inittab_xen.inc +1
-5@@ -1,4 +1 @@ -do_install_append() { - echo "" >> ${D}${sysconfdir}/inittab - echo "X0:12345:respawn:/sbin/getty 115200 hvc0" >> ${D}${sysconfdir}/inittab -} +SERIAL_CONSOLES_append = "${@bb.utils.contains('DISTRO_FEATURES', 'xen', ' 115200;hvc0', '', d)}" --2.7.4
--
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization
Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end - "Use the force Harry" - Gandalf, Star Trek II