initrdscripts-secure-core: Provide all directories init requires

Our "init" script requires additional directories to exist and since we
don't pull in something like base-files that gives us a full layout we
must make these additional directories on our own.

Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
Tom Rini
2018-04-26 13:31:18 -04:00
committed by Jia Zhang
parent bd31f81f78
commit 15a25c9a4a
@@ -14,12 +14,18 @@ do_install() {
# Create device nodes expected by kernel in initramfs
# before executing /init.
install -d "${D}/dev"
install -d "${D}/proc"
install -d "${D}/sys"
install -d "${D}/run"
mknod -m 0600 "${D}/dev/console" c 5 1
}
FILES_${PN} = "\
/init \
/dev \
/proc \
/sys \
/run \
"
# Install the minimal stuffs only, and don't care how the external