1 DESCRIPTION = "minimal init."
4 MAINTAINER = "Bruno Randolf <bruno.randolf@4g-systems.biz>"
6 # SERIAL_CONSOLE is generally defined by the MACHINE .conf.
7 # Set PACKAGE_ARCH appropriately.
8 PACKAGE_ARCH_${PN} = "${MACHINE_ARCH}"
10 SRC_URI = "file://rcS file://inittab"
13 install -d ${D}${sysconfdir} \
14 ${D}${sysconfdir}/rcS.d \
15 ${D}${sysconfdir}/rc2.d \
16 ${D}${sysconfdir}/init.d
18 install -m 0644 ${WORKDIR}/inittab ${D}${sysconfdir}/inittab
19 install -m 0755 ${WORKDIR}/rcS ${D}${sysconfdir}/init.d
21 if [ ! -z "${SERIAL_CONSOLE}" ]; then
22 echo "${SERIAL_CONSOLE}::askfirst:/bin/sh --login" >> ${D}${sysconfdir}/inittab