Home
last modified time | relevance | path

Searched refs:patch_file (Results 1 – 2 of 2) sorted by relevance

/openbmc/openbmc/poky/meta/lib/oe/
H A Dcve_check.py114 def parse_cves_from_patch_file(patch_file): argument
122 filename_cve = parse_cve_from_filename(patch_file)
124 bb.debug(2, "Found %s from patch file name %s" % (filename_cve, patch_file))
125 cve_ids.add(parse_cve_from_filename(patch_file))
129 if not os.path.isfile(patch_file):
130 bb.note("%s is remote or compressed, not scanning content" % patch_file)
133 with open(patch_file, "r", encoding="utf-8") as f:
140 " trying with iso8859-1" % patch_file,
143 with open(patch_file, "r", encoding="iso8859-1") as f:
149 bb.debug(2, "Patch %s doesn't solve CVEs" % patch_file)
[all …]
/openbmc/openbmc/meta-phosphor/classes/
H A Dobmc-xmlpatch.bbclass27 patch_file = os.path.join(d.getVar("WORKDIR", True), base_patch_name)
29 if not os.path.exists(patch_file):
30 bb.fatal("Could not find patch file " + patch_file +
33 patch_tree = et.parse(patch_file)
39 + patch_file)
48 print("Applying XML fixes found in " + patch_file + " to " + xml)
55 cmd.append(patch_file)