summaryrefslogtreecommitdiff
path: root/recipes-core
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2020-10-26 11:28:14 -0500
committerJohn Klug <john.klug@multitech.com>2020-10-26 11:28:14 -0500
commit59eebe3aca3e3975fb01fa3be37c86cbd5b558eb (patch)
tree4047575fcf6fcf7768b942b0dc3db92947c20577 /recipes-core
parent547f3b748e393255daaac0a2b040f7d14507f3f5 (diff)
downloadmeta-mlinux-59eebe3aca3e3975fb01fa3be37c86cbd5b558eb.tar.gz
meta-mlinux-59eebe3aca3e3975fb01fa3be37c86cbd5b558eb.tar.bz2
meta-mlinux-59eebe3aca3e3975fb01fa3be37c86cbd5b558eb.zip
Add S1 to start-open for new MTCPM
Diffstat (limited to 'recipes-core')
-rw-r--r--recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bbappend4
1 files changed, 3 insertions, 1 deletions
diff --git a/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bbappend b/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bbappend
index e3d54e0..affda2a 100644
--- a/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bbappend
+++ b/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bbappend
@@ -7,7 +7,7 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
SRC_URI += "file://start_getty_open \
file://bootlogd \
"
-
+PR_${PN}-start-open = ${PR}a
FILES_${PN} = "${sysconfdir}/inittab ${sysconfdir}/default/bootlogd"
FILES_${PN}-start = "${base_bindir}/start_getty"
FILES_${PN}-start-open = "${base_bindir}/start_getty_open"
@@ -22,10 +22,12 @@ do_install_append() {
}
pkg_postinst_${PN}-start-open() {
sed -i 's?^S0:.*?S0:12345:respawn:/bin/start_getty_open 115200 ttyS0?' $D/etc/inittab
+ sed -i 's?^S1:.*?S1:12345:respawn:/bin/start_getty_open 115200 ttyS1?' $D/etc/inittab
sed -i 's?^GS0:.*?GS0:12345:respawn:/bin/start_getty_open 115200 ttyGS0 vt102?' $D/etc/inittab
}
pkg_prerm_${PN}-start-open() {
sed -i 's?^S0:.*?S0:12345:respawn:/bin/start_getty 115200 ttyS0?' $D/etc/inittab
+ sed -i 's?^S1:.*?S1:12345:respawn:/bin/start_getty 115200 ttyS1?' $D/etc/inittab
sed -i 's?^GS0:.*?GS0:12345:respawn:/bin/start_getty 115200 ttyGS0 vt102?' $D/etc/inittab
}