1 DESCRIPTION = "minimal init."
5 # SERIAL_CONSOLE is generally defined by the MACHINE .conf.
6 # Set PACKAGE_ARCH appropriately.
7 PACKAGE_ARCH_${PN} = "${MACHINE_ARCH}"
9 SRC_URI = "file://rcS file://inittab"
12 install -d ${D}${sysconfdir} \
13 ${D}${sysconfdir}/rcS.d \
14 ${D}${sysconfdir}/rc2.d \
15 ${D}${sysconfdir}/init.d
17 install -m 0644 ${WORKDIR}/inittab ${D}${sysconfdir}/inittab
18 install -m 0755 ${WORKDIR}/rcS ${D}${sysconfdir}/init.d
20 if [ ! -z "${SERIAL_CONSOLE}" ]; then
21 echo "${SERIAL_CONSOLE}::askfirst:/bin/sh --login" >> ${D}${sysconfdir}/inittab