mirror of
https://github.com/jiazhang0/meta-secure-core.git
synced 2026-01-12 01:00:15 +00:00
rpm-integrity: Use _append for PACKAGECONFIG
Currently, the PACKAGECONFIG assignment in rpm-integrity might overwrite the previous contents of the variable. Similar to systemd_%.bbappend and ovmf_%.bbappend, use _append to add "imaevm" to PACKAGECONFIG when distro feature ima is enabled. Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
FILESEXTRAPATHS_prepend := "${THISDIR}/rpm:"
|
||||
|
||||
PACKAGECONFIG = "${@bb.utils.contains('DISTRO_FEATURES', 'ima', 'imaevm', '', d)}"
|
||||
PACKAGECONFIG_append = " \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'ima', 'imaevm', '', d)} \
|
||||
"
|
||||
|
||||
# IMA signing support is provided by RPM plugin.
|
||||
EXTRA_OECONF_remove += "\
|
||||
|
||||
Reference in New Issue
Block a user