cve-check: no need to depend on the fetch task
PATCH 1/1 cve-check: no need to depend on the fetch task
The only part of the cve-check task which needs files is the patch examination, and typically these patches are local so fetch isn't needed.
--- meta/classes/cve-check.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/classes/cve-check.bbclass +1 -1
@@ -126,7 +126,7 @@ python do_cve_check () { } -addtask cve_check before do_build after do_fetch +addtask cve_check before do_build do_cve_check[depends] = "cve-update-db-native:do_fetch" do_cve_check[nostamp] = "1"
Signature · 1 line
2.25.1
Quoted 25 lines · Ross Burton
The only part of the cve-check task which needs files is the patch examination, and typically these patches are local so fetch isn't needed.
Signed-off-by Ross Burton <[email protected]>--- meta/classes/cve-check.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meta/classes/cve-check.bbclass +1
-2@@ -126,7 +126,7 @@ python do_cve_check () { } -addtask cve_check before do_build after do_fetch +addtask cve_check before do_build do_cve_check[depends] = "cve-update-db-native:do_fetch" do_cve_check[nostamp] = "1" --2.25.1
Quoted 1 line
A side-effect of this change is that we seem to not be downloading the NVD
database
anymore... This is probably not exactly what we want right now.
Kind regards,
Marta
Quoted 5 lines · Marta Rybczynska
A side-effect of this change is that we seem to not be downloading the NVD database anymore... This is probably not exactly what we want right now.
That’s unexpected, as the NVD fetch is in another recipe entirely.
Note that the NVD fetch only happens once a day, so it’s possible it just executed very fast.
Ross
Quoted 4 lines · Ross Burton
Quoted 4 lines · Marta Rybczynska
A side-effect of this change is that we seem to not be downloading the
Quoted 9 lines
NVD database
Quoted 1 line
anymore... This is probably not exactly what we want right now.
That’s unexpected, as the NVD fetch is in another recipe entirely.
Note that the NVD fetch only happens once a day, so it’s possible it just executed very fast.
This patch is fine. The error I'm seeing is a different one: the condition of one hour between the
fetches does not always work. Under debug right now, will post a fix when I have it.
Marta