mirror of
https://github.com/jiazhang0/meta-secure-core.git
synced 2026-01-12 01:00:15 +00:00
initrdscripts-secure-core: clean up RDEPENDS
Signed-off-by: Lans Zhang <jia.zhang@windriver.com>
This commit is contained in:
@@ -1,27 +1,42 @@
|
||||
SUMMARY = "Basic init for initramfs to mount and pivot root"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
||||
LIC_FILES_CHKSUM = "\
|
||||
file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420 \
|
||||
"
|
||||
|
||||
SRC_URI = "file://init"
|
||||
SRC_URI = "\
|
||||
file://init \
|
||||
"
|
||||
|
||||
do_install() {
|
||||
install -m 0755 "${WORKDIR}/init" "${D}/init"
|
||||
install -m 0755 "${WORKDIR}/init" "${D}/init"
|
||||
|
||||
# Create device nodes expected by kernel in initramfs
|
||||
# before executing /init.
|
||||
install -d "${D}/dev"
|
||||
mknod -m 0600 "${D}/dev/console" c 5 1
|
||||
# Create device nodes expected by kernel in initramfs
|
||||
# before executing /init.
|
||||
install -d "${D}/dev"
|
||||
mknod -m 0600 "${D}/dev/console" c 5 1
|
||||
}
|
||||
|
||||
FILES_${PN} = "/init /dev"
|
||||
|
||||
RDEPENDS_${PN} += "\
|
||||
bash \
|
||||
kmod \
|
||||
sed \
|
||||
grep \
|
||||
coreutils \
|
||||
util-linux \
|
||||
gawk \
|
||||
udev \
|
||||
FILES_${PN} = "\
|
||||
/init \
|
||||
/dev \
|
||||
"
|
||||
|
||||
# Install the minimal stuffs only, and don't care how the external
|
||||
# environment is configured.
|
||||
|
||||
# @sysvinit: init
|
||||
# @coreutils: echo, cat, sleep, switch_root, expr, mkdir
|
||||
# @util-linux: mount
|
||||
# @grep: grep
|
||||
# @gawk: awk
|
||||
# @eudev: udevd, udevadm
|
||||
# @procps: pkill
|
||||
RDEPENDS_${PN} += "\
|
||||
sysvinit \
|
||||
coreutils \
|
||||
util-linux-mount \
|
||||
grep \
|
||||
gawk \
|
||||
eudev \
|
||||
"
|
||||
|
||||
Reference in New Issue
Block a user