meta-virtualization/recipes-core/sysvinit/sysvinit-inittab_xen.inc
Jaewon Lee f1e768dfdf sysvinit-inittab_xen: Using getty wrapper to minimize console messages
Previously the following message was printed on the console every 5
minutes:
INIT: Id "X0" respawning too fast: disabled for 5 minutes

Installing and using a getty-wrapper that will check for the hypervisor
(hvc0) device and if not present, will call sleep

Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-03-30 10:37:05 -04:00

5 lines
188 B
PHP

do_install_append() {
echo "" >> ${D}${sysconfdir}/inittab
echo "X0:12345:respawn:${base_sbindir}/getty-wrapper 115200 hvc0" >> ${D}${sysconfdir}/inittab
}