From f1e768dfdfb148b9b4c6aaaf065ccea79dd5484d Mon Sep 17 00:00:00 2001 From: Jaewon Lee Date: Mon, 23 Mar 2020 17:01:24 -0700 Subject: 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 Signed-off-by: Mark Hatle Signed-off-by: Bruce Ashfield --- recipes-core/sysvinit/sysvinit-inittab_xen.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'recipes-core/sysvinit/sysvinit-inittab_xen.inc') diff --git a/recipes-core/sysvinit/sysvinit-inittab_xen.inc b/recipes-core/sysvinit/sysvinit-inittab_xen.inc index 9d0589ce..de0af20b 100644 --- a/recipes-core/sysvinit/sysvinit-inittab_xen.inc +++ b/recipes-core/sysvinit/sysvinit-inittab_xen.inc @@ -1,4 +1,4 @@ do_install_append() { echo "" >> ${D}${sysconfdir}/inittab - echo "X0:12345:respawn:/sbin/getty 115200 hvc0" >> ${D}${sysconfdir}/inittab + echo "X0:12345:respawn:${base_sbindir}/getty-wrapper 115200 hvc0" >> ${D}${sysconfdir}/inittab } -- cgit v1.2.3-54-g00ecf