cve-check.bbclass: Added do_populate_sdk[recrdeptask].

Message ID 1653289465-4176-1-git-send-email-leimaohui@fujitsu.com
State Accepted, archived
Commit cc17753935c5f9e08aaa6c5886f059303147c07b
Headers show
Series cve-check.bbclass: Added do_populate_sdk[recrdeptask]. | expand

Commit Message

Maohui Lei (Fujitsu) May 23, 2022, 7:04 a.m. UTC
As product, sdk should do cve check as well as rootfs.

Signed-off-by: Lei Maohui <leimaohui@fujitsu.com>
---
 meta/classes/cve-check.bbclass | 1 +
 1 file changed, 1 insertion(+)

Patch

diff --git a/meta/classes/cve-check.bbclass b/meta/classes/cve-check.bbclass
index 7cd98ae..3729d9c 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):
     """