diff options
Diffstat (limited to 'scripts/lib/recipetool/create.py')
-rw-r--r-- | scripts/lib/recipetool/create.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/lib/recipetool/create.py b/scripts/lib/recipetool/create.py index c626844370..ea2ef5be63 100644 --- a/scripts/lib/recipetool/create.py +++ b/scripts/lib/recipetool/create.py | |||
@@ -1295,6 +1295,14 @@ def split_pkg_licenses(licvalues, packages, outlines, fallback_licenses=None, pn | |||
1295 | outlicenses[pkgname] = licenses | 1295 | outlicenses[pkgname] = licenses |
1296 | return outlicenses | 1296 | return outlicenses |
1297 | 1297 | ||
1298 | def generate_common_licenses_chksums(common_licenses, d): | ||
1299 | lic_files_chksums = [] | ||
1300 | for license in tidy_licenses(common_licenses): | ||
1301 | licfile = '${COMMON_LICENSE_DIR}/' + license | ||
1302 | md5value = bb.utils.md5_file(d.expand(licfile)) | ||
1303 | lic_files_chksums.append('file://%s;md5=%s' % (licfile, md5value)) | ||
1304 | return lic_files_chksums | ||
1305 | |||
1298 | def read_pkgconfig_provides(d): | 1306 | def read_pkgconfig_provides(d): |
1299 | pkgdatadir = d.getVar('PKGDATA_DIR') | 1307 | pkgdatadir = d.getVar('PKGDATA_DIR') |
1300 | pkgmap = {} | 1308 | pkgmap = {} |