aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMing Liu <liu.ming50@gmail.com>2021-03-12 10:53:24 +0100
committerArmin Kuster <akuster808@gmail.com>2021-03-18 08:01:19 -0700
commit6ada80aa3e8f426c2a4284fc48a2eaf2688d6411 (patch)
tree1f6d26fd04e8e8d121284a8dd44630a4bc614793
parentdb86cfad19a8990ca2208cbfef1a6bd0cc987060 (diff)
downloadmeta-security-6ada80aa3e8f426c2a4284fc48a2eaf2688d6411.tar.gz
meta-security-6ada80aa3e8f426c2a4284fc48a2eaf2688d6411.tar.bz2
meta-security-6ada80aa3e8f426c2a4284fc48a2eaf2688d6411.zip
ima-evm-keys: add file-checksums to IMA_EVM_X509
This ensures when a end user change the IMA_EVM_X509 key file, ima-evm-keys recipe will be rebuilt. Signed-off-by: Ming Liu <liu.ming50@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r--meta-integrity/recipes-security/ima-evm-keys/ima-evm-keys_1.0.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-integrity/recipes-security/ima-evm-keys/ima-evm-keys_1.0.bb b/meta-integrity/recipes-security/ima-evm-keys/ima-evm-keys_1.0.bb
index 62685bb..7708aef 100644
--- a/meta-integrity/recipes-security/ima-evm-keys/ima-evm-keys_1.0.bb
+++ b/meta-integrity/recipes-security/ima-evm-keys/ima-evm-keys_1.0.bb
@@ -14,3 +14,4 @@ do_install () {
lnr ${D}${sysconfdir}/keys/x509_evm.der ${D}${sysconfdir}/keys/x509_ima.der
fi
}
+do_install[file-checksums] += "${@'${IMA_EVM_X509}:%s' % os.path.exists('${IMA_EVM_X509}')}"