diff options
author | Khem Raj <raj.khem@gmail.com> | 2021-03-09 09:32:09 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-03-11 14:00:36 +0000 |
commit | ed69ef20167da0986bc9363d1a91e62001995af4 (patch) | |
tree | 91fd992f2752b229f97f6e38c10a39b1ce7d3c45 /meta/recipes-core | |
parent | f9507e3adbe4720cddb11714f2b48b0cd7c337d7 (diff) | |
download | poky-ed69ef20167da0986bc9363d1a91e62001995af4.tar.gz |
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>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r-- | meta/recipes-core/busybox/busybox-inittab_1.32.0.bb | 3 | ||||
-rw-r--r-- | meta/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bb | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/meta/recipes-core/busybox/busybox-inittab_1.32.0.bb b/meta/recipes-core/busybox/busybox-inittab_1.32.0.bb index 3804f4f7b2..0021e45511 100644 --- a/meta/recipes-core/busybox/busybox-inittab_1.32.0.bb +++ b/meta/recipes-core/busybox/busybox-inittab_1.32.0.bb | |||
@@ -44,6 +44,9 @@ EOF | |||
44 | fi | 44 | fi |
45 | 45 | ||
46 | } | 46 | } |
47 | do_install_append_qemuppc64 () { | ||
48 | echo "9:12345:respawn:${base_sbindir}/getty 38400 hvc0" >> ${D}${sysconfdir}/inittab | ||
49 | } | ||
47 | 50 | ||
48 | pkg_postinst_${PN} () { | 51 | pkg_postinst_${PN} () { |
49 | # run this on host and on target | 52 | # 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 d95d1a63f5..0af116f35c 100644 --- a/meta/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bb +++ b/meta/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bb | |||
@@ -53,6 +53,10 @@ EOF | |||
53 | fi | 53 | fi |
54 | } | 54 | } |
55 | 55 | ||
56 | do_install_append_qemuppc64 () { | ||
57 | echo "9:12345:respawn:${base_sbindir}/getty 38400 hvc0" >> ${D}${sysconfdir}/inittab | ||
58 | } | ||
59 | |||
56 | pkg_postinst_${PN} () { | 60 | pkg_postinst_${PN} () { |
57 | # run this on host and on target | 61 | # run this on host and on target |
58 | if [ "${SERIAL_CONSOLES_CHECK}" = "" ]; then | 62 | if [ "${SERIAL_CONSOLES_CHECK}" = "" ]; then |