mirror of
https://git.yoctoproject.org/meta-security
synced 2026-07-27 07:27:14 +00:00
meta-integrity: fix issues with yocto-check-layer
[v2] re-did solutions Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
@@ -23,7 +23,9 @@ SRC_URI += "file://command-line-apply-operation-to-all-paths.patch"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
inherit pkgconfig autotools
|
||||
inherit pkgconfig autotools features_check
|
||||
|
||||
REQUIRED_DISTRO_FEATURES = "ima"
|
||||
|
||||
EXTRA_OECONF_append_class-target = " --with-kernel-headers=${STAGING_KERNEL_BUILDDIR}"
|
||||
|
||||
|
||||
@@ -9,6 +9,9 @@ IMA_POLICY ?= "ima_policy_appraise_all"
|
||||
|
||||
SRC_URI = " file://${IMA_POLICY}"
|
||||
|
||||
inherit features_check
|
||||
REQUIRED_DISTRO_FEATURES = "ima"
|
||||
|
||||
do_install () {
|
||||
install -d ${D}/${sysconfdir}/ima
|
||||
install ${WORKDIR}/${IMA_POLICY} ${D}/${sysconfdir}/ima/ima-policy
|
||||
|
||||
@@ -11,6 +11,9 @@ SRC_URI = " \
|
||||
file://${IMA_POLICY} \
|
||||
"
|
||||
|
||||
inherit features_check
|
||||
REQUIRED_DISTRO_FEATURES = "ima"
|
||||
|
||||
do_install () {
|
||||
install -d ${D}/${sysconfdir}/ima
|
||||
install ${WORKDIR}/${IMA_POLICY} ${D}/${sysconfdir}/ima/ima-policy
|
||||
|
||||
@@ -9,6 +9,9 @@ IMA_POLICY ?= "ima_policy_simple"
|
||||
|
||||
SRC_URI = " file://${IMA_POLICY}"
|
||||
|
||||
inherit features_check
|
||||
REQUIRED_DISTRO_FEATURES = "ima"
|
||||
|
||||
do_install () {
|
||||
install -d ${D}/${sysconfdir}/ima
|
||||
install ${WORKDIR}/${IMA_POLICY} ${D}/${sysconfdir}/ima/ima-policy
|
||||
|
||||
Reference in New Issue
Block a user