mirror of
https://git.yoctoproject.org/poky
synced 2026-04-21 03:32:12 +02:00
license.bbclass: Include LICENSE in the output when it fails to parse
(From OE-Core rev: faa2baeb4256f0df3c34badf5cb30febeede5ab8) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 1a5197760da3890cc80ac7da8d589766612d9051) Signed-off-by: Steve Sakoman <steve@sakoman.com>
This commit is contained in:
committed by
Steve Sakoman
parent
96a7cf3331
commit
1805cb9232
@@ -229,7 +229,7 @@ def find_license_files(d):
|
||||
bb.fatal('%s: %s' % (d.getVar('PF'), exc))
|
||||
except SyntaxError:
|
||||
oe.qa.handle_error("license-syntax",
|
||||
"%s: Failed to parse it's LICENSE field." % (d.getVar('PF')), d)
|
||||
"%s: Failed to parse LICENSE: %s" % (d.getVar('PF'), d.getVar('LICENSE')), d)
|
||||
# Add files from LIC_FILES_CHKSUM to list of license files
|
||||
lic_chksum_paths = defaultdict(OrderedDict)
|
||||
for path, data in sorted(lic_chksums.items()):
|
||||
|
||||
Reference in New Issue
Block a user