mirror of
https://github.com/jiazhang0/meta-secure-core.git
synced 2026-07-17 05:06:59 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user