diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2013-04-30 15:31:00 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-05-02 17:41:54 +0100 |
commit | c58cfcefced6afcb1381d3571e612d1b8712f531 (patch) | |
tree | ef62c924c8ab61175c58b48182de06ef0f233dcc /meta | |
parent | c09809f0609beb27e5670d69cbdcf713fb884f7b (diff) | |
download | poky-c58cfcefced6afcb1381d3571e612d1b8712f531.tar.gz |
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>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bb | 5 |
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() { | |||
17 | do_install() { | 17 | do_install() { |
18 | install -d ${D}${sysconfdir} | 18 | install -d ${D}${sysconfdir} |
19 | install -m 0644 ${WORKDIR}/inittab ${D}${sysconfdir}/inittab | 19 | install -m 0644 ${WORKDIR}/inittab ${D}${sysconfdir}/inittab |
20 | if [ ! -z "${SERIAL_CONSOLE}" ]; then | ||
21 | echo "S:2345:respawn:${base_sbindir}/getty ${SERIAL_CONSOLE}" >> ${D}${sysconfdir}/inittab | ||
22 | fi | ||
23 | 20 | ||
24 | tmp="${SERIAL_CONSOLES}" | 21 | tmp="${SERIAL_CONSOLES}" |
25 | for i in $tmp | 22 | for i in $tmp |
@@ -71,7 +68,7 @@ else | |||
71 | fi | 68 | fi |
72 | } | 69 | } |
73 | 70 | ||
74 | # USE_VT and SERIAL_CONSOLE are generally defined by the MACHINE .conf. | 71 | # USE_VT and SERIAL_CONSOLES are generally defined by the MACHINE .conf. |
75 | # Set PACKAGE_ARCH appropriately. | 72 | # Set PACKAGE_ARCH appropriately. |
76 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 73 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
77 | 74 | ||