summaryrefslogtreecommitdiff
path: root/recipes-core
diff options
context:
space:
mode:
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
}