summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Hao <kexin.hao@windriver.com>2021-04-07 20:18:12 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-04-18 11:37:26 +0100
commita24d0161f6b511f2c62ef6a36bf966ad04df34a5 (patch)
tree8b3584f6930aa4c68eaef6b7a343600b7525a204
parentbfbccfd85fcf8d3789f152aa7cb1f8d355873892 (diff)
downloadpoky-a24d0161f6b511f2c62ef6a36bf966ad04df34a5.tar.gz
Revert "inittab: Add getty launch on hvc0 for qemuppc64"
This reverts commit ed69ef20167da0986bc9363d1a91e62001995af4. The console entry has already been added into /etc/inittab based on the SERIAL_CONSOLES. So drop this redundant entry. (From OE-Core rev: 633f0c6b74e3caa2bae52ca60c61b811b7b2215d) Signed-off-by: Kevin Hao <kexin.hao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-core/busybox/busybox-inittab_1.33.0.bb3
-rw-r--r--meta/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bb4
2 files changed, 0 insertions, 7 deletions
diff --git a/meta/recipes-core/busybox/busybox-inittab_1.33.0.bb b/meta/recipes-core/busybox/busybox-inittab_1.33.0.bb
index 0021e45511..3804f4f7b2 100644
--- a/meta/recipes-core/busybox/busybox-inittab_1.33.0.bb
+++ b/meta/recipes-core/busybox/busybox-inittab_1.33.0.bb
@@ -44,9 +44,6 @@ EOF
44 fi 44 fi
45 45
46} 46}
47do_install_append_qemuppc64 () {
48 echo "9:12345:respawn:${base_sbindir}/getty 38400 hvc0" >> ${D}${sysconfdir}/inittab
49}
50 47
51pkg_postinst_${PN} () { 48pkg_postinst_${PN} () {
52# run this on host and on target 49# run this on host and on target
diff --git a/meta/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bb b/meta/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bb
index 0af116f35c..d95d1a63f5 100644
--- a/meta/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bb
+++ b/meta/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bb
@@ -53,10 +53,6 @@ EOF
53 fi 53 fi
54} 54}
55 55
56do_install_append_qemuppc64 () {
57 echo "9:12345:respawn:${base_sbindir}/getty 38400 hvc0" >> ${D}${sysconfdir}/inittab
58}
59
60pkg_postinst_${PN} () { 56pkg_postinst_${PN} () {
61# run this on host and on target 57# run this on host and on target
62if [ "${SERIAL_CONSOLES_CHECK}" = "" ]; then 58if [ "${SERIAL_CONSOLES_CHECK}" = "" ]; then