From patchwork Thu Dec 27 14:13:54 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [3/6] package.bbclass: don't prepend MLPREFIX to LOCALEBASEPN Date: Thu, 27 Dec 2012 14:13:54 -0000 From: Constantin Musca X-Patchwork-Id: 41725 Message-Id: To: openembedded-core@lists.openembedded.org - 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 --- meta/classes/package.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass index 9885d94..8a94e30 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')