diff options
author | Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> | 2019-03-22 12:40:28 -0700 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2019-03-24 23:14:04 -0400 |
commit | 50cdecca7b2a0e1bb5eacbec132f26b802f950fc (patch) | |
tree | e99d819a676e1d4db675ff1ddee2d3ac84b10eb9 | |
parent | d19fda374317daab673ed1b78f68010c14eebf47 (diff) | |
download | meta-virtualization-50cdecca7b2a0e1bb5eacbec132f26b802f950fc.tar.gz |
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>
-rw-r--r-- | recipes-core/sysvinit/sysvinit-inittab_xen.inc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/recipes-core/sysvinit/sysvinit-inittab_xen.inc b/recipes-core/sysvinit/sysvinit-inittab_xen.inc index 9d0589ce..4d568063 100644 --- a/recipes-core/sysvinit/sysvinit-inittab_xen.inc +++ b/recipes-core/sysvinit/sysvinit-inittab_xen.inc | |||
@@ -1,4 +1 @@ | |||
1 | do_install_append() { | SERIAL_CONSOLES_append = "${@bb.utils.contains('DISTRO_FEATURES', 'xen', ' 115200;hvc0', '', d)}" | |
2 | echo "" >> ${D}${sysconfdir}/inittab | ||
3 | echo "X0:12345:respawn:/sbin/getty 115200 hvc0" >> ${D}${sysconfdir}/inittab | ||
4 | } | ||