meta-secure-core: fix wrong operator combination

Operations like XXX:append += "YYY" are almost always wrong and this
is a common mistake made in the metadata. Improve them to use the
standard format.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
This commit is contained in:
Yi Zhao
2021-11-18 10:15:38 +08:00
committed by Jia Zhang
parent fea6a37625
commit 2bd48852e2
6 changed files with 6 additions and 6 deletions

View File

@@ -29,4 +29,4 @@ kmods = "\
RRECOMMENDS:${PN}:x86 += "${kmods}"
RRECOMMENDS:${PN}:x86-64 += "${kmods}"
IMAGE_INSTALL:remove += "grub"
IMAGE_INSTALL:remove = "grub"

View File

@@ -24,7 +24,7 @@ LAYERRECOMMENDS_integrity = "\
tpm \
"
BB_HASHBASE_WHITELIST:append += "\
BB_HASHBASE_WHITELIST:append = " \
RPM_FSK_PATH \
"

View File

@@ -1,4 +1,4 @@
CFLAGS:remove += "-pie -fpie"
CFLAGS:remove = "-pie -fpie"
# We need -no-pie in case the default is to generate pie code.
#

View File

@@ -5,7 +5,7 @@ PACKAGECONFIG:append = " \
"
# IMA signing support is provided by RPM plugin.
EXTRA_OECONF:remove += "\
EXTRA_OECONF:remove = "\
--disable-plugins \
"
EXTRA_OECONF:append:class-native = " --disable-inhibit-plugin --with-audit=no"

View File

@@ -64,7 +64,7 @@ RPM_GPG_PASSPHRASE ??= "SecureCore"
BOOT_GPG_NAME ??= "SecureBootCore"
BOOT_GPG_PASSPHRASE ??= "SecureCore"
BB_HASHBASE_WHITELIST:append += "\
BB_HASHBASE_WHITELIST:append = " \
SYSTEM_TRUSTED_KEYS_DIR \
SECONDARY_TRUSTED_KEYS_DIR \
MODSIGN_KEYS_DIR \

View File

@@ -41,7 +41,7 @@ def efi_arch(d):
# Avoids build breaks when using no-static-libs.inc
#DISABLE_STATIC:class-target = ""
#EXTRA_OECONF:remove:class-target += "\
#EXTRA_OECONF:remove:class-target = "\
# --with-libtool-sysroot \
#"