summaryrefslogtreecommitdiff
path: root/recipes-core
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2021-07-27 16:39:30 -0500
committerJohn Klug <john.klug@multitech.com>2021-07-27 16:39:30 -0500
commit10df0781a71221fa4c1e14fbc143221ea7e3de42 (patch)
treefafc868a0f24bbe9a52bfc920e358fb7b023268e /recipes-core
parent1c434bf038b0f66ee2efb329ef5532a4333452ec (diff)
downloadmeta-mlinux-10df0781a71221fa4c1e14fbc143221ea7e3de42.tar.gz
meta-mlinux-10df0781a71221fa4c1e14fbc143221ea7e3de42.tar.bz2
meta-mlinux-10df0781a71221fa4c1e14fbc143221ea7e3de42.zip
Add /dev/ttymxc0 to the open console list
Diffstat (limited to 'recipes-core')
-rw-r--r--recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bbappend2
1 files changed, 2 insertions, 0 deletions
diff --git a/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bbappend b/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bbappend
index e72df31..259f2a0 100644
--- a/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bbappend
+++ b/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bbappend
@@ -24,10 +24,12 @@ 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
+ sed -i 's?^mxc0:.*?mxc0:12345:respawn:/bin/start_getty_open 115200 ttymxc0 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
+ sed -i 's?^mxc0:.*?mxc0:12345:respawn:/bin/start_getty 115200 ttymxc0 vt102?' $D/etc/inittab
}