1SUMMARY = "Live image init script" 2LICENSE = "MIT" 3LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" 4DEPENDS = "virtual/kernel" 5RDEPENDS:${PN} = "udev udev-extraconf" 6SRC_URI = "file://init-live.sh" 7 8 9S = "${WORKDIR}" 10 11do_install() { 12 install -m 0755 ${WORKDIR}/init-live.sh ${D}/init 13 install -d ${D}/dev 14 mknod -m 622 ${D}/dev/console c 5 1 15} 16 17FILES:${PN} += " /init /dev " 18 19# Due to kernel dependency 20PACKAGE_ARCH = "${MACHINE_ARCH}" 21