I created an patch for this as per inputs shared above.
Can team please review and share feedback if any as this being my first patch 
for community.

Thanks
Ashish.
From ed91c3c83d471a8858fd77c395d41fd06198c3f0 Mon Sep 17 00:00:00 2001
From: Ashish <[email protected]>
Date: Thu, 9 Jul 2020 11:39:00 +0530
Subject: [PATCH] Prevents two getty running on single serial console (hvc0)

When xen is enabled on raspberrypi4-64 machine user had
two getty's running on the serial console device (hvc0)
This led to root credentials failure continuously for few time
followed by user getting the root prompt.
But user would be unable to operate on serial console as
he gets "Login timed out after 60 seconds" within few seconds
and the control goes back again asking login credentials.
---
 recipes-core/sysvinit/sysvinit-inittab_xen.inc | 1 -
 1 file changed, 1 deletion(-)

diff --git a/recipes-core/sysvinit/sysvinit-inittab_xen.inc b/recipes-core/sysvinit/sysvinit-inittab_xen.inc
index de0af20..04fd8f9 100644
--- a/recipes-core/sysvinit/sysvinit-inittab_xen.inc
+++ b/recipes-core/sysvinit/sysvinit-inittab_xen.inc
@@ -1,4 +1,3 @@
 do_install_append() {
                 echo "" >> ${D}${sysconfdir}/inittab
-                echo "X0:12345:respawn:${base_sbindir}/getty-wrapper 115200 hvc0" >> ${D}${sysconfdir}/inittab
 }
-- 
2.7.4

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#5562): 
https://lists.yoctoproject.org/g/meta-virtualization/message/5562
Mute This Topic: https://lists.yoctoproject.org/mt/75371814/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to