inittab: Add getty launch on hvc0 for qemuppc64

(From OE-Core rev: be3a6b97913cd9e17cd434a2abec1aa3445a3c05)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Khem Raj
2021-03-09 09:32:09 -08:00
committed by Richard Purdie
parent f9507e3adb
commit ed69ef2016
2 changed files with 7 additions and 0 deletions

View File

@@ -44,6 +44,9 @@ EOF
fi
}
do_install_append_qemuppc64 () {
echo "9:12345:respawn:${base_sbindir}/getty 38400 hvc0" >> ${D}${sysconfdir}/inittab
}
pkg_postinst_${PN} () {
# run this on host and on target

View File

@@ -53,6 +53,10 @@ EOF
fi
}
do_install_append_qemuppc64 () {
echo "9:12345:respawn:${base_sbindir}/getty 38400 hvc0" >> ${D}${sysconfdir}/inittab
}
pkg_postinst_${PN} () {
# run this on host and on target
if [ "${SERIAL_CONSOLES_CHECK}" = "" ]; then