aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorleimaohui <leimaohui@fujitsu.com>2022-05-23 15:04:25 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-05-23 21:31:07 +0100
commitcc17753935c5f9e08aaa6c5886f059303147c07b (patch)
tree479f50035ee79340a962f0db41543ca690f3b933
parent8d913ab6db3ae4b2786a64a086d519a40dcb8c4d (diff)
downloadopenembedded-core-contrib-cc17753935c5f9e08aaa6c5886f059303147c07b.tar.gz
openembedded-core-contrib-cc17753935c5f9e08aaa6c5886f059303147c07b.tar.bz2
openembedded-core-contrib-cc17753935c5f9e08aaa6c5886f059303147c07b.zip
cve-check.bbclass: Added do_populate_sdk[recrdeptask].
As product, sdk should do cve check as well as rootfs. Signed-off-by: Lei Maohui <leimaohui@fujitsu.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
-rw-r--r--meta/classes/cve-check.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/cve-check.bbclass b/meta/classes/cve-check.bbclass
index 7cd98ae462..3729d9cba8 100644
--- a/meta/classes/cve-check.bbclass
+++ b/meta/classes/cve-check.bbclass
@@ -218,6 +218,7 @@ python cve_check_write_rootfs_manifest () {
ROOTFS_POSTPROCESS_COMMAND:prepend = "${@'cve_check_write_rootfs_manifest; ' if d.getVar('CVE_CHECK_CREATE_MANIFEST') == '1' else ''}"
do_rootfs[recrdeptask] += "${@'do_cve_check' if d.getVar('CVE_CHECK_CREATE_MANIFEST') == '1' else ''}"
+do_populate_sdk[recrdeptask] += "${@'do_cve_check' if d.getVar('CVE_CHECK_CREATE_MANIFEST') == '1' else ''}"
def check_cves(d, patched_cves):
"""