]> code.ossystems Code Review - openembedded-core.git/commitdiff
inittab: Add getty launch on hvc0 for qemuppc64
authorKhem Raj <raj.khem@gmail.com>
Tue, 9 Mar 2021 17:32:09 +0000 (09:32 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 11 Mar 2021 13:59:34 +0000 (13:59 +0000)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/busybox/busybox-inittab_1.32.0.bb
meta/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bb

index 3804f4f7b2d0fc2c6a0b4479d80361a129684db3..0021e45511d7d359948fb7120f2a9b9a26f99ba5 100644 (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
index d95d1a63f5c4df5f2e948a98926fd9efff1cf59d..0af116f35cbd2bb785dbc052230190bc25df1ab3 100644 (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