diff options
author | Philip Tricca <flihp@twobit.us> | 2013-11-06 02:54:51 +0000 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2013-11-07 15:31:05 -0500 |
commit | 38a09562ecf83e31da78d3294d02d0e2592be769 (patch) | |
tree | e6056f0fc0258b31be0ec9436b76661be6e11814 | |
parent | 6c021c05d062198d49bab0c0f6f017077054a1c6 (diff) | |
download | meta-virtualization-38a09562ecf83e31da78d3294d02d0e2592be769.tar.gz |
xen: Add getty to inittab for login on Xen serial console.
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>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
-rw-r--r-- | recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bbappend | 7 |
1 files changed, 7 insertions, 0 deletions
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 00000000..2edbedf9 --- /dev/null +++ b/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bbappend | |||
@@ -0,0 +1,7 @@ | |||
1 | do_install_append() { | ||
2 | echo "${DISTRO_FEATURES}" | grep -q 'xen' | ||
3 | if [ $? -eq 0 ]; then | ||
4 | echo "" >> ${D}${sysconfdir}/inittab | ||
5 | echo "X0:12345:respawn:/sbin/getty 115200 hvc0" >> ${D}${sysconfdir}/inittab | ||
6 | fi | ||
7 | } | ||