[meta-virtualization] [PATCH] Add getty to inittab for login on Xen serial console.
Bruce Ashfield
bruce.ashfield at gmail.com
Thu Nov 7 12:32:52 PST 2013
On Tue, Nov 5, 2013 at 9:54 PM, Philip Tricca <flihp at twobit.us> wrote:
> 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.
merged (with a minor tweak to the shortlog).
Bruce
>
> Signed-off-by: Philip Tricca <flihp at 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
>
> _______________________________________________
> meta-virtualization mailing list
> meta-virtualization at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-virtualization
--
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"
More information about the meta-virtualization
mailing list