@@ -685,9 +685,11 @@ def split_locales(d):
description = d.getVar('DESCRIPTION') or ""
locale_section = d.getVar('LOCALE_SECTION')
mlprefix = d.getVar('MLPREFIX') or ""
+ locale_pkgs = []
for l in sorted(locales):
ln = legitimize_package_name(l)
pkg = pn + '-locale-' + ln
+ locale_pkgs.append(pkg)
packages.insert(locale_index, pkg)
locale_index += 1
files = []
@@ -702,6 +704,7 @@ def split_locales(d):
d.setVar('SECTION:' + pkg, locale_section)
d.setVar('PACKAGES', ' '.join(packages))
+ oe.license.skip_incompatible_package_licenses(d, locale_pkgs)
# Disabled by RP 18/06/07
# Wildcards aren't supported in debian
Checks if incompatible licenses are present in the dynamically generated locale packages Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> --- meta/lib/oe/package.py | 3 +++ 1 file changed, 3 insertions(+)