From 40acb88afb2ebd2d468bb2fce51c6ce6bf3d8403 Mon Sep 17 00:00:00 2001 From: Paul Eggleton Date: Tue, 30 Apr 2013 15:31:00 +0100 Subject: 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 Signed-off-by: Saul Wold --- meta/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bb | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'meta/recipes-core/sysvinit') 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}" -- cgit 1.2.3-korg