initramfs-debug: add simple init script for debugging

Add a tiny simple debug script that will mount all available virtual
file systems and then execute a shell.

Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Dmitry Eremin-Solenikov authored and Martin Jansa committed 2015-04-13 12:55:51 +02:00
1 parent 22990fdc12
commit a94da01779
2 files changed
+45

No files matched your search

@@ -0,0 +1,14 @@
SUMMARY = "Extremely basic live image init script"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
SRC_URI = "file://init-debug.sh"
S = "${WORKDIR}"
do_install() {
install -m 0755 ${WORKDIR}/init-debug.sh ${D}/init
}
inherit allarch
FILES_${PN} += " /init "