Patchwork [3/6] package.bbclass: don't prepend MLPREFIX to LOCALEBASEPN

login
register
mail settings
Submitter Constantin Musca
Date Dec. 27, 2012, 2:13 p.m.
Message ID <b02b1965f4646137798d065b7047f8a3a5831b2d.1356617488.git.constantinx.musca@intel.com>
Download mbox | patch
Permalink /patch/41725/
State Accepted
Commit 855d64a3091c5358e2e1a7f4247929515b068708
Headers show

Comments

Constantin Musca - Dec. 27, 2012, 2:13 p.m.
- 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>
---
 meta/classes/package.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

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')