diff options
| author | Peter Kjellerstedt <peter.kjellerstedt@axis.com> | 2023-04-27 21:01:40 +0200 |
|---|---|---|
| committer | Steve Sakoman <steve@sakoman.com> | 2023-05-30 04:11:15 -1000 |
| commit | ef68c9166b3420b817e194e807003c9c5a009992 (patch) | |
| tree | 14c8fee996959f2553b8570d2639e9bb319c3f96 /meta/classes | |
| parent | 2118c5b7f8fc6cf9828c97a2ef19daad5dd5c49b (diff) | |
| download | poky-ef68c9166b3420b817e194e807003c9c5a009992.tar.gz | |
license.bbclass: Include LICENSE in the output when it fails to parse
(From OE-Core rev: 1dd008511cc62bd32f85b529f8d6031bd57e4cd2)
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>
Diffstat (limited to 'meta/classes')
| -rw-r--r-- | meta/classes/license.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/license.bbclass b/meta/classes/license.bbclass index 4ebfc4fb92..b92838c030 100644 --- a/meta/classes/license.bbclass +++ b/meta/classes/license.bbclass | |||
| @@ -223,7 +223,7 @@ def find_license_files(d): | |||
| 223 | bb.fatal('%s: %s' % (d.getVar('PF'), exc)) | 223 | bb.fatal('%s: %s' % (d.getVar('PF'), exc)) |
| 224 | except SyntaxError: | 224 | except SyntaxError: |
| 225 | oe.qa.handle_error("license-syntax", | 225 | oe.qa.handle_error("license-syntax", |
| 226 | "%s: Failed to parse it's LICENSE field." % (d.getVar('PF')), d) | 226 | "%s: Failed to parse LICENSE: %s" % (d.getVar('PF'), d.getVar('LICENSE')), d) |
| 227 | # Add files from LIC_FILES_CHKSUM to list of license files | 227 | # Add files from LIC_FILES_CHKSUM to list of license files |
| 228 | lic_chksum_paths = defaultdict(OrderedDict) | 228 | lic_chksum_paths = defaultdict(OrderedDict) |
| 229 | for path, data in sorted(lic_chksums.items()): | 229 | for path, data in sorted(lic_chksums.items()): |
