On Sat, Mar 23, 2019 at 12:12 PM Manjukumar Matha <[email protected]> wrote: > > 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.
merged. Bruce > > Signed-off-by: Manjukumar Matha <[email protected]> > --- > recipes-core/sysvinit/sysvinit-inittab_xen.inc | 5 +---- > 1 file changed, 1 insertion(+), 4 deletions(-) > > diff --git a/recipes-core/sysvinit/sysvinit-inittab_xen.inc > b/recipes-core/sysvinit/sysvinit-inittab_xen.inc > index 9d0589c..4d56806 100644 > --- a/recipes-core/sysvinit/sysvinit-inittab_xen.inc > +++ b/recipes-core/sysvinit/sysvinit-inittab_xen.inc > @@ -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 -- - Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end - "Use the force Harry" - Gandalf, Star Trek II -- _______________________________________________ meta-virtualization mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-virtualization
