summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/cve-check.bbclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes/cve-check.bbclass b/meta/classes/cve-check.bbclass
index 12ad3e5c5c..743bc08a4f 100644
--- a/meta/classes/cve-check.bbclass
+++ b/meta/classes/cve-check.bbclass
@@ -190,7 +190,8 @@ def check_cves(d, patched_cves):
190 # Write the faux CSV file to be used with cve-check-tool 190 # Write the faux CSV file to be used with cve-check-tool
191 fd, faux = tempfile.mkstemp(prefix="cve-faux-") 191 fd, faux = tempfile.mkstemp(prefix="cve-faux-")
192 with os.fdopen(fd, "w") as f: 192 with os.fdopen(fd, "w") as f:
193 f.write("%s,%s,%s," % (bpn, pv, cves)) 193 for pn in bpn.split():
194 f.write("%s,%s,%s,\n" % (pn, pv, cves))
194 cmd.append(faux) 195 cmd.append(faux)
195 196
196 output = subprocess.check_output(cmd).decode("utf-8") 197 output = subprocess.check_output(cmd).decode("utf-8")