]> code.ossystems Code Review - openembedded-core.git/commitdiff
package.bbclass: don't prepend MLPREFIX to LOCALEBASEPN
authorConstantin Musca <constantinx.musca@intel.com>
Fri, 21 Dec 2012 10:38:03 +0000 (12:38 +0200)
committerSaul Wold <sgw@linux.intel.com>
Sat, 5 Jan 2013 06:01:21 +0000 (22:01 -0800)
- 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 <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/classes/package.bbclass

index 1ac65510c7ca306d3a93b4fe59ebd9fea0ce5f38..34bbc46d2ad7ba4affafa4977973c6d15a0d6ab1 100644 (file)
@@ -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')