mirror of
https://github.com/jiazhang0/meta-secure-core.git
synced 2026-07-27 14:28:45 +00:00
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:
@@ -29,4 +29,4 @@ kmods = "\
|
|||||||
RRECOMMENDS:${PN}:x86 += "${kmods}"
|
RRECOMMENDS:${PN}:x86 += "${kmods}"
|
||||||
RRECOMMENDS:${PN}:x86-64 += "${kmods}"
|
RRECOMMENDS:${PN}:x86-64 += "${kmods}"
|
||||||
|
|
||||||
IMAGE_INSTALL:remove += "grub"
|
IMAGE_INSTALL:remove = "grub"
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ LAYERRECOMMENDS_integrity = "\
|
|||||||
tpm \
|
tpm \
|
||||||
"
|
"
|
||||||
|
|
||||||
BB_HASHBASE_WHITELIST:append += "\
|
BB_HASHBASE_WHITELIST:append = " \
|
||||||
RPM_FSK_PATH \
|
RPM_FSK_PATH \
|
||||||
"
|
"
|
||||||
|
|
||||||
|
|||||||
@@ -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.
|
# We need -no-pie in case the default is to generate pie code.
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ PACKAGECONFIG:append = " \
|
|||||||
"
|
"
|
||||||
|
|
||||||
# IMA signing support is provided by RPM plugin.
|
# IMA signing support is provided by RPM plugin.
|
||||||
EXTRA_OECONF:remove += "\
|
EXTRA_OECONF:remove = "\
|
||||||
--disable-plugins \
|
--disable-plugins \
|
||||||
"
|
"
|
||||||
EXTRA_OECONF:append:class-native = " --disable-inhibit-plugin --with-audit=no"
|
EXTRA_OECONF:append:class-native = " --disable-inhibit-plugin --with-audit=no"
|
||||||
|
|||||||
@@ -64,7 +64,7 @@ RPM_GPG_PASSPHRASE ??= "SecureCore"
|
|||||||
BOOT_GPG_NAME ??= "SecureBootCore"
|
BOOT_GPG_NAME ??= "SecureBootCore"
|
||||||
BOOT_GPG_PASSPHRASE ??= "SecureCore"
|
BOOT_GPG_PASSPHRASE ??= "SecureCore"
|
||||||
|
|
||||||
BB_HASHBASE_WHITELIST:append += "\
|
BB_HASHBASE_WHITELIST:append = " \
|
||||||
SYSTEM_TRUSTED_KEYS_DIR \
|
SYSTEM_TRUSTED_KEYS_DIR \
|
||||||
SECONDARY_TRUSTED_KEYS_DIR \
|
SECONDARY_TRUSTED_KEYS_DIR \
|
||||||
MODSIGN_KEYS_DIR \
|
MODSIGN_KEYS_DIR \
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ def efi_arch(d):
|
|||||||
# Avoids build breaks when using no-static-libs.inc
|
# Avoids build breaks when using no-static-libs.inc
|
||||||
#DISABLE_STATIC:class-target = ""
|
#DISABLE_STATIC:class-target = ""
|
||||||
|
|
||||||
#EXTRA_OECONF:remove:class-target += "\
|
#EXTRA_OECONF:remove:class-target = "\
|
||||||
# --with-libtool-sysroot \
|
# --with-libtool-sysroot \
|
||||||
#"
|
#"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user