6e7061263e
When booting from initramfs, one must provide a /init link. This one is the simplest one, just forking a shell, allowing for the smallest initramfs.
13 lines
207 B
BlitzBasic
13 lines
207 B
BlitzBasic
DESCRIPTON = "A live image init script"
|
|
|
|
SRC_URI = "file://init-boot.sh"
|
|
|
|
PR = "r0"
|
|
|
|
do_install() {
|
|
install -m 0755 ${WORKDIR}/init-boot.sh ${D}/init
|
|
}
|
|
|
|
PACKAGE_ARCH = "all"
|
|
FILES_${PN} += " /init "
|