Hi team,
I get this error…
ERROR:
Task do_build in /home/dwatkins/workspace/mgos/apollo17/upstream/yocto/poky/meta/recipes-core/images/core-image-minimal.bb depends upon non-existent task do_populate_cve_db in /home/dwatkins/workspace/mgos/apollo17/upstream/yocto/poky/meta/recipes-core/meta/cve-update-db-native.bb
ERROR:
Command execution failed: 1
This commit below is reference from ‘dunfell’ branch but I see the same issue in ‘master’ branch so I think it was back ported.
commit ee62d4540e6a2ad5d071209b7bef26b367719b42
Author: Ross Burton <ross@...>
Date:
Thu Sep 10 22:04:13 2020 +0100
cve-update-db-native: use fetch task
Instead of inventing a new task to fetch the CVE data, use the existing
fetch task.
(From OE-Core rev: 1ed53d5cfc2be40b2d57b5392ec4d30313209934)
Signed-off-by: Ross Burton <ross.burton@...>
Signed-off-by: Richard Purdie <richard.purdie@...>
(cherry picked from commit f5f97d33a1703d75b9fd9760f2c7767081538e00)
Signed-off-by: Steve Sakoman <steve@...>
Signed-off-by: Richard Purdie <richard.purdie@...>
Below is from isafw.bbclass (approx. line #108 in ‘dunfell’) in meta-security
do_build[depends] += "cve-update-db-native:do_populate_cve_db ca-certificates-native:do_populate_sysroot"
I think it needs to be …
do_build[depends] += "cve-update-db-native:do_fetch ca-certificates-native:do_populate_sysroot"
I think this is as widespread in terms of backported branches, etc. as the original change went. I am guessing that this doesn’t impact users that are NOT using the meta-security layer.
I have to admit I was a bit surprised by this, but on the other hand, it’s nice went I can suggest the fix rather than just belly ache over the issue.
😉
Regards,
Darcy
Darcy Watkins :: Senior Staff Engineer, Firmware
SIERRA WIRELESS
Direct +1 604 233 7989 :: Fax +1 604 231 1109 :: Main +1 604 231 1100
13811 Wireless Way :: Richmond, BC Canada V6V 3A4
[M4]
dwatkins@... :: www.sierrawireless.com