summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/sysvinit
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2013-04-30 15:31:00 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-05-02 17:40:51 +0100
commit40acb88afb2ebd2d468bb2fce51c6ce6bf3d8403 (patch)
treeb71ba37b43714322cb6df34f8f5cb071065479d9 /meta/recipes-core/sysvinit
parent3f0d665384e6d1b7aa2854a9cc4f13e0961bacb7 (diff)
downloadopenembedded-core-contrib-40acb88afb2ebd2d468bb2fce51c6ce6bf3d8403.tar.gz
openembedded-core-contrib-40acb88afb2ebd2d468bb2fce51c6ce6bf3d8403.tar.bz2
openembedded-core-contrib-40acb88afb2ebd2d468bb2fce51c6ce6bf3d8403.zip
sysvinit-inittab: remove specific handling of SERIAL_CONSOLE
We already handle SERIAL_CONSOLES here and this is now set from SERIAL_CONSOLE if not already set. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-core/sysvinit')
-rw-r--r--meta/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bb5
1 files changed, 1 insertions, 4 deletions
diff --git a/meta/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bb b/meta/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bb
index fbac8937fe..23c284d131 100644
--- a/meta/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bb
+++ b/meta/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bb
@@ -17,9 +17,6 @@ do_compile() {
do_install() {
install -d ${D}${sysconfdir}
install -m 0644 ${WORKDIR}/inittab ${D}${sysconfdir}/inittab
- if [ ! -z "${SERIAL_CONSOLE}" ]; then
- echo "S:2345:respawn:${base_sbindir}/getty ${SERIAL_CONSOLE}" >> ${D}${sysconfdir}/inittab
- fi
tmp="${SERIAL_CONSOLES}"
for i in $tmp
@@ -71,7 +68,7 @@ else
fi
}
-# USE_VT and SERIAL_CONSOLE are generally defined by the MACHINE .conf.
+# USE_VT and SERIAL_CONSOLES are generally defined by the MACHINE .conf.
# Set PACKAGE_ARCH appropriately.
PACKAGE_ARCH = "${MACHINE_ARCH}"