diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-07-28 23:28:15 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-08-02 15:44:10 +0100 |
commit | bb6ddc3691ab04162ec5fd69a2d5e7876713fd15 (patch) | |
tree | 76e376b01253c3aace1a98a5021bcaad3c92e861 /scripts/lib/recipetool/create.py | |
parent | fcc456ee4b8f619134abb4649db53c638074082c (diff) | |
download | poky-bb6ddc3691ab04162ec5fd69a2d5e7876713fd15.tar.gz |
Convert to new override syntax
This is the result of automated script conversion:
scripts/contrib/convert-overrides.py <oe-core directory>
converting the metadata to use ":" as the override character instead of "_".
(From OE-Core rev: 42344347be29f0997cc2f7636d9603b1fe1875ae)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/recipetool/create.py')
-rw-r--r-- | scripts/lib/recipetool/create.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/lib/recipetool/create.py b/scripts/lib/recipetool/create.py index 566c75369a..0ac97e02e9 100644 --- a/scripts/lib/recipetool/create.py +++ b/scripts/lib/recipetool/create.py | |||
@@ -710,7 +710,7 @@ def create_recipe(args): | |||
710 | lines_after.append('') | 710 | lines_after.append('') |
711 | 711 | ||
712 | if args.binary: | 712 | if args.binary: |
713 | lines_after.append('INSANE_SKIP_${PN} += "already-stripped"') | 713 | lines_after.append('INSANE_SKIP:${PN} += "already-stripped"') |
714 | lines_after.append('') | 714 | lines_after.append('') |
715 | 715 | ||
716 | if args.npm_dev: | 716 | if args.npm_dev: |
@@ -1177,7 +1177,7 @@ def split_pkg_licenses(licvalues, packages, outlines, fallback_licenses=None, pn | |||
1177 | license = ' '.join(list(set(pkglicenses.get(pkgname, ['Unknown'])))) or 'Unknown' | 1177 | license = ' '.join(list(set(pkglicenses.get(pkgname, ['Unknown'])))) or 'Unknown' |
1178 | if license == 'Unknown' and pkgname in fallback_licenses: | 1178 | if license == 'Unknown' and pkgname in fallback_licenses: |
1179 | license = fallback_licenses[pkgname] | 1179 | license = fallback_licenses[pkgname] |
1180 | outlines.append('LICENSE_%s = "%s"' % (pkgname, license)) | 1180 | outlines.append('LICENSE:%s = "%s"' % (pkgname, license)) |
1181 | outlicenses[pkgname] = license.split() | 1181 | outlicenses[pkgname] = license.split() |
1182 | return outlicenses | 1182 | return outlicenses |
1183 | 1183 | ||