initrdscripts-secure-core: clean up RDEPENDS

Signed-off-by: Lans Zhang <jia.zhang@windriver.com>
This commit is contained in:
Lans Zhang
2017-07-04 17:17:56 +08:00
parent f0f6b205e8
commit 55492bcc10

View File

@@ -1,27 +1,42 @@
SUMMARY = "Basic init for initramfs to mount and pivot root" SUMMARY = "Basic init for initramfs to mount and pivot root"
LICENSE = "MIT" 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() { do_install() {
install -m 0755 "${WORKDIR}/init" "${D}/init" install -m 0755 "${WORKDIR}/init" "${D}/init"
# Create device nodes expected by kernel in initramfs # Create device nodes expected by kernel in initramfs
# before executing /init. # before executing /init.
install -d "${D}/dev" install -d "${D}/dev"
mknod -m 0600 "${D}/dev/console" c 5 1 mknod -m 0600 "${D}/dev/console" c 5 1
} }
FILES_${PN} = "/init /dev" FILES_${PN} = "\
/init \
RDEPENDS_${PN} += "\ /dev \
bash \ "
kmod \
sed \ # Install the minimal stuffs only, and don't care how the external
grep \ # environment is configured.
coreutils \
util-linux \ # @sysvinit: init
gawk \ # @coreutils: echo, cat, sleep, switch_root, expr, mkdir
udev \ # @util-linux: mount
# @grep: grep
# @gawk: awk
# @eudev: udevd, udevadm
# @procps: pkill
RDEPENDS_${PN} += "\
sysvinit \
coreutils \
util-linux-mount \
grep \
gawk \
eudev \
" "