summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2019-12-08 20:35:50 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-01-16 22:38:52 +0000
commitdf244d25f05eaf43929016eec9c2de1d6dbe72b6 (patch)
treefb09c858a40d5e4dace09b5f9a794d1a96bacb14
parent50b6a611eafa7a0e3ca1971b4dcb485187928d68 (diff)
downloadpoky-df244d25f05eaf43929016eec9c2de1d6dbe72b6.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) (From OE-Core rev: 8bfe83d53c39e4a88f808af617db7db091694841) 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> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/cve-check.bbclass3
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 () {
62 62
63} 63}
64 64
65addtask cve_check after do_unpack before do_build 65addtask cve_check before do_build
66do_cve_check[depends] = "cve-update-db-native:do_populate_cve_db" 66do_cve_check[depends] = "cve-update-db-native:do_populate_cve_db"
67do_cve_check[nostamp] = "1" 67do_cve_check[nostamp] = "1"
68 68
@@ -70,7 +70,6 @@ python cve_check_cleanup () {
70 """ 70 """
71 Delete the file used to gather all the CVE information. 71 Delete the file used to gather all the CVE information.
72 """ 72 """
73
74 bb.utils.remove(e.data.getVar("CVE_CHECK_TMP_FILE")) 73 bb.utils.remove(e.data.getVar("CVE_CHECK_TMP_FILE"))
75} 74}
76 75