mirror of
https://git.yoctoproject.org/poky
synced 2026-02-09 18:23:02 +01:00
This is the result of automated script conversion: scripts/contrib/convert-overrides.py <oe-core directory> converting the metadata to use ":" as the override character instead of "_". (From OE-Core rev: 42344347be29f0997cc2f7636d9603b1fe1875ae) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 lines
532 B
BlitzBasic
22 lines
532 B
BlitzBasic
SUMMARY = "Extremely basic live image init script"
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
|
SRC_URI = "file://init-boot.sh"
|
|
|
|
PR = "r2"
|
|
|
|
S = "${WORKDIR}"
|
|
|
|
do_install() {
|
|
install -m 0755 ${WORKDIR}/init-boot.sh ${D}/init
|
|
|
|
# Create device nodes expected by some kernels in initramfs
|
|
# before even executing /init.
|
|
install -d ${D}/dev
|
|
mknod -m 622 ${D}/dev/console c 5 1
|
|
}
|
|
|
|
inherit allarch
|
|
|
|
FILES:${PN} += "/init /dev/console"
|