mirror of
https://git.yoctoproject.org/meta-security
synced 2026-07-16 15:57:21 +00:00
c84f39f8e0
Signed-off-by: Armin Kuster <akuster808@gmail.com>
21 lines
609 B
BlitzBasic
21 lines
609 B
BlitzBasic
SUMMARY = "IMA sample hash policy"
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
|
|
|
# This policy file will get installed as /etc/ima/ima-policy.
|
|
# It is located via the normal file search path, so a .bbappend
|
|
# to this recipe can just point towards one of its own files.
|
|
IMA_POLICY ?= "ima_policy_hashed"
|
|
|
|
SRC_URI = " \
|
|
file://${IMA_POLICY} \
|
|
"
|
|
|
|
do_install () {
|
|
install -d ${D}/${sysconfdir}/ima
|
|
install ${WORKDIR}/${IMA_POLICY} ${D}/${sysconfdir}/ima/ima-policy
|
|
}
|
|
|
|
FILES_${PN} = "${sysconfdir}/ima"
|
|
RDEPENDS_${PN} = "ima-evm-utils"
|