All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Add getty to inittab for login on Xen serial console.
@ 2013-11-06  2:54 Philip Tricca
  2013-11-07 20:32 ` Bruce Ashfield
  0 siblings, 1 reply; 4+ messages in thread
From: Philip Tricca @ 2013-11-06  2:54 UTC (permalink / raw)
  To: meta-virtualization

It's not pretty but the mechanisms in sysvinit-inittab assume the
console device name is tty*. The Xen console device doesn't meet
this criteria.

Signed-off-by: Philip Tricca <flihp@twobit.us>
---
 recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bbappend |    7 +++++++
 1 file changed, 7 insertions(+)
 create mode 100644 recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bbappend

diff --git a/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bbappend b/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bbappend
new file mode 100644
index 0000000..2edbedf
--- /dev/null
+++ b/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bbappend
@@ -0,0 +1,7 @@
+do_install_append() {
+	echo "${DISTRO_FEATURES}" | grep -q 'xen'
+	if [ $? -eq 0 ]; then
+		echo "" >> ${D}${sysconfdir}/inittab
+		echo "X0:12345:respawn:/sbin/getty 115200 hvc0" >> ${D}${sysconfdir}/inittab
+	fi
+}
-- 
1.7.10.4



^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-11-08 13:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-06  2:54 [PATCH] Add getty to inittab for login on Xen serial console Philip Tricca
2013-11-07 20:32 ` Bruce Ashfield
2013-11-08  4:07   ` Chris Patterson
2013-11-08 13:23     ` Philip Tricca

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.