]> code.ossystems Code Review - openembedded-core.git/commitdiff
Revert "cve-check: add lockfile to task"
authorRoss Burton <ross@burtonini.com>
Wed, 23 Feb 2022 12:54:32 +0000 (12:54 +0000)
committerAnuj Mittal <anuj.mittal@intel.com>
Mon, 7 Mar 2022 02:56:07 +0000 (10:56 +0800)
Now that all of the functions in cve-check open the database read-only,
we can remove this lockfile.

This means cve-check can run in parallal again, improving runtimes
massively.

This reverts commit d55fbf4779483d2cfd71df78d0f733b599fef739.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d3d3e7b324698ec3e6fce1951aba389805f3edd3)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
meta/classes/cve-check.bbclass

index 646929d2edbfb09d762f0d88799e7018335fd852..60e2618bb7981d29a1b5073d22ddd5cffe9dffd1 100644 (file)
@@ -111,7 +111,6 @@ python do_cve_check () {
 }
 
 addtask cve_check before do_build after do_fetch
-do_cve_check[lockfiles] += "${CVE_CHECK_DB_FILE_LOCK}"
 do_cve_check[depends] = "cve-update-db-native:do_fetch"
 do_cve_check[nostamp] = "1"