diff mbox series

bitbake.conf: Include cve-check-map earlier, before distro

Message ID 20240812103204.837158-1-richard.purdie@linuxfoundation.org
State Accepted, archived
Commit fb22a7e7ee38a0e923e86a68d0e9b86d479f264d
Headers show
Series bitbake.conf: Include cve-check-map earlier, before distro | expand

Commit Message

Richard Purdie Aug. 12, 2024, 10:32 a.m. UTC
It makes sense for the distro to be able to override "policy" from cve-check-map
which is intented to provide defaults. Tweak the ordering to allow for this,
ensuring it is included before the distro includes.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 meta/conf/bitbake.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index baa1b2df473..cdc9666723e 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -832,12 +832,12 @@  include conf/local.conf
 require conf/multiconfig/${BB_CURRENT_MC}.conf
 include conf/machine/${MACHINE}.conf
 include conf/machine-sdk/${SDKMACHINE}.conf
+require conf/cve-check-map.conf
 include conf/distro/${DISTRO}.conf
 include conf/distro/defaultsetup.conf
 include conf/documentation.conf
 include conf/licenses.conf
 require conf/sanity.conf
-require conf/cve-check-map.conf
 include conf/bblock.conf
 
 ##################################################################