diff options
author | Ross Burton <ross.burton@intel.com> | 2019-12-08 20:35:50 +0200 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2019-12-22 20:26:27 -0800 |
commit | 8bfe83d53c39e4a88f808af617db7db091694841 (patch) | |
tree | f1723e8188e980979b08d502841905662ba48323 | |
parent | d1a16e6f0edda5d9f03191d187788fc8b666bd7f (diff) | |
download | openembedded-core-contrib-8bfe83d53c39e4a88f808af617db7db091694841.tar.gz |
cve-check: we don't actually need to unpack to check
The patch scanner works with patch files in the layer, not in the workdir, so it
doesn't need to unpack.
(From OE-Core rev: 2cba6ada970deb5156e1ba0182f4f372851e3c17)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r-- | meta/classes/cve-check.bbclass | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/meta/classes/cve-check.bbclass b/meta/classes/cve-check.bbclass index 1c8b2223a2..3326944d79 100644 --- a/meta/classes/cve-check.bbclass +++ b/meta/classes/cve-check.bbclass @@ -62,7 +62,7 @@ python do_cve_check () { } -addtask cve_check after do_unpack before do_build +addtask cve_check before do_build do_cve_check[depends] = "cve-update-db-native:do_populate_cve_db" do_cve_check[nostamp] = "1" @@ -70,7 +70,6 @@ python cve_check_cleanup () { """ Delete the file used to gather all the CVE information. """ - bb.utils.remove(e.data.getVar("CVE_CHECK_TMP_FILE")) } |