mirror of
https://github.com/jiazhang0/meta-secure-core.git
synced 2026-07-27 22:38:40 +00:00
7c83acd861
Signed-off-by: Lans Zhang <jia.zhang@windriver.com>
44 lines
792 B
BlitzBasic
44 lines
792 B
BlitzBasic
DESCRIPTION = "The initrd script for Linux Integrity Measurement Architecture (IMA)"
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "\
|
|
file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420 \
|
|
"
|
|
|
|
SRC_URI = "\
|
|
file://init.ima \
|
|
"
|
|
|
|
S = "${WORKDIR}"
|
|
|
|
ALLOW_EMPTY_${PN} = "1"
|
|
|
|
do_install() {
|
|
install -m 0500 "${WORKDIR}/init.ima" "${D}"
|
|
}
|
|
|
|
FILES_${PN} += "\
|
|
/init.ima \
|
|
"
|
|
|
|
# Install the minimal stuffs only, and don't care how the external
|
|
# environment is configured.
|
|
|
|
# @coreutils: echo, printf
|
|
# @grep: grep
|
|
# @gawk: awk
|
|
# @util-linux: mount, umount
|
|
# @ima-evm-utils: evmctl
|
|
RDEPENDS_${PN} += "\
|
|
coreutils \
|
|
grep \
|
|
gawk \
|
|
util-linux-mount \
|
|
util-linux-umount \
|
|
ima-evm-utils \
|
|
ima-policy \
|
|
"
|
|
|
|
RRECOMMENDS_${PN} += "\
|
|
key-store-ima-cert \
|
|
"
|