From: Constantin Musca Date: Fri, 21 Dec 2012 10:38:03 +0000 (+0200) Subject: package.bbclass: don't prepend MLPREFIX to LOCALEBASEPN X-Git-Tag: 2015-4~8186 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=855d64a3091c5358e2e1a7f4247929515b068708;p=openembedded-core.git package.bbclass: don't prepend MLPREFIX to LOCALEBASEPN - all the recipes that overwrite LOCALEBASEPN must consider also the MLPREFIX - if the LOCALEBASEPN variable is not overwritten then it will have the correct prefix (LOCALEBASEPN ??= "${PN}") Signed-off-by: Constantin Musca Signed-off-by: Saul Wold --- diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass index 1ac65510c7..34bbc46d2a 100644 --- a/meta/classes/package.bbclass +++ b/meta/classes/package.bbclass @@ -438,7 +438,7 @@ python package_do_split_locales() { return dvar = d.getVar('PKGD', True) - pn = "%s%s" % (d.getVar('MLPREFIX', True) or "", d.getVar('LOCALEBASEPN', True)) + pn = d.getVar('LOCALEBASEPN', True) if pn + '-locale' in packages: packages.remove(pn + '-locale')