meta-security: Remove True option to getVar calls
PATCH 1/1 meta-security: Remove True option to getVar calls
getVar() now defaults to expanding by default, thus remove the True option from getVar() calls with a regex search and replace.
Signed-off-by Akash Hadke <[email protected]>
--- meta-integrity/classes/ima-evm-rootfs.bbclass | 2 +- .../parsec-service/parsec-service_1.0.0.bb | 2 +- meta-security-isafw/classes/isafw.bbclass | 52 +++++++++---------- 3 files changed, 28 insertions(+), 28 deletions(-)
meta-integrity/classes/ima-evm-rootfs.bbclass +1 -1
@@ -56,7 +56,7 @@ ima_evm_sign_rootfs () { # # Deduplicates iversion in case that this gets called more than once. if [ -f etc/fstab ]; then - perl -pi -e 's;(\S+)(\s+)(${@"|".join((d.getVar("IMA_EVM_ROOTFS_IVERSION", True) or "no-such-mount-point").split())})(\s+)(\S+)(\s+)(\S+);\1\2\3\4\5\6\7,iversion;; s/(,iversion)+/,iversion/;' etc/fstab + perl -pi -e 's;(\S+)(\s+)(${@"|".join((d.getVar("IMA_EVM_ROOTFS_IVERSION") or "no-such-mount-point").split())})(\s+)(\S+)(\s+)(\S+);\1\2\3\4\5\6\7,iversion;; s/(,iversion)+/,iversion/;' etc/fstab fi # Sign file with private IMA key. EVM not supported at the moment.
meta-parsec/recipes-parsec/parsec-service/parsec-service_1.0.0.bb +1 -1
@@ -22,7 +22,7 @@ PACKAGECONFIG[MBED-CRYPTO] = "mbed-crypto-provider," PACKAGECONFIG[CRYPTOAUTHLIB] = "cryptoauthlib-provider," PACKAGECONFIG[TS] = "trusted-service-provider,,libts,libts" -PARSEC_FEATURES = "${@d.getVar('PACKAGECONFIG_CONFARGS',True).strip().replace(' ', ',')}" +PARSEC_FEATURES = "${@d.getVar('PACKAGECONFIG_CONFARGS').strip().replace(' ', ',')}" CARGO_BUILD_FLAGS += " --features ${PARSEC_FEATURES}" export BINDGEN_EXTRA_CLANG_ARGS
meta-security-isafw/classes/isafw.bbclass +26 -26
125 lines not on this page · raw message
Signature · 1 line
2.25.1