mirror of
https://git.yoctoproject.org/meta-security
synced 2026-05-07 04:58:47 +00:00
995f25bcb9
IMA_POLICY is being referred as policy recipe name in some places and it is also being referred as policy file in other places, they are conflicting with each other which make it impossible to set a IMA_POLICY global variable in config file. Fix it by dropping IMA_POLICY definitions from policy recipes Signed-off-by: Ming Liu <liu.ming50@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
17 lines
443 B
BlitzBasic
17 lines
443 B
BlitzBasic
SUMMARY = "IMA sample simple policy"
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
|
|
|
SRC_URI = " file://ima_policy_simple"
|
|
|
|
inherit features_check
|
|
REQUIRED_DISTRO_FEATURES = "ima"
|
|
|
|
do_install () {
|
|
install -d ${D}/${sysconfdir}/ima
|
|
install ${WORKDIR}/ima_policy_simple ${D}/${sysconfdir}/ima/ima-policy
|
|
}
|
|
|
|
FILES_${PN} = "${sysconfdir}/ima"
|
|
RDEPENDS_${PN} = "ima-evm-utils"
|