diff options
Diffstat (limited to 'poky/meta/classes/cve-check.bbclass')
-rw-r--r-- | poky/meta/classes/cve-check.bbclass | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/poky/meta/classes/cve-check.bbclass b/poky/meta/classes/cve-check.bbclass index 12ad3e5c5..743bc08a4 100644 --- a/poky/meta/classes/cve-check.bbclass +++ b/poky/meta/classes/cve-check.bbclass @@ -190,7 +190,8 @@ def check_cves(d, patched_cves): # Write the faux CSV file to be used with cve-check-tool fd, faux = tempfile.mkstemp(prefix="cve-faux-") with os.fdopen(fd, "w") as f: - f.write("%s,%s,%s," % (bpn, pv, cves)) + for pn in bpn.split(): + f.write("%s,%s,%s,\n" % (pn, pv, cves)) cmd.append(faux) output = subprocess.check_output(cmd).decode("utf-8") |