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.

(From OE-Core rev: 40acb88afb2ebd2d468bb2fce51c6ce6bf3d8403)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Paul Eggleton 2013-04-30 15:31:00 +01:00 committed by Richard Purdie
parent c09809f060
commit c58cfcefce
1 changed files with 1 additions and 4 deletions

View File

@ -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}"