The `do_populate_lic` task was failing because it runs after `do_patch`,
but the indirect dependency on `do_unpack` was lost when the `do_patch`
task was deleted.
It is safe, and even preferable, to retain the `do_patch` task, as this
allows users to apply patches to their CVE databases.
Follow-up to commit
8ef22ad9e302f86b2da4fa81541a464e95b9ef3c
("sbom-cve-check: Add class for post-build CVE analysis").
Signed-off-by: Benjamin Robin <benjamin.robin@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
do_sbom_cve_check[sstate-outputdirs] = "${DEPLOY_DIR_IMAGE}"
do_sbom_cve_check[depends] += " \
python3-sbom-cve-check-native:do_populate_sysroot \
- sbom-cve-check-update-cvelist-native:do_unpack \
- sbom-cve-check-update-nvd-native:do_unpack \
+ sbom-cve-check-update-cvelist-native:do_patch \
+ sbom-cve-check-update-nvd-native:do_patch \
"
python do_sbom_cve_check_setscene() {
SBOM_CVE_CHECK_DB_NAME[doc] = "Database name, which is the Git repository directory name. \
The git repository will be stored in ${SBOM_CVE_CHECK_DEPLOY_DB_DIR)/"
-deltask do_patch
deltask do_configure
deltask do_compile
deltask do_install