Patchwork [4/4] package.bbclass: prepend MLPREFIX to LOCALEBASEPN

login
register
mail settings
Submitter Constantin Musca
Date Dec. 11, 2012, 3:29 p.m.
Message ID <76c157858049dab2c0ad550f1d5d197bb95abe17.1355236839.git.constantinx.musca@intel.com>
Download mbox | patch
Permalink /patch/40761/
State Accepted
Commit 91fe09a9a8b317d27145efff4201f1138d6a45d4
Headers show

Comments

Constantin Musca - Dec. 11, 2012, 3:29 p.m.
We need to prepend MLPREFIX to LOCALEBASEPN in order to
fully enable multilib

[YOCTO #3440]

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 993ce98..3f7e7bf 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -432,7 +432,7 @@  python package_do_split_locales() {
         return
 
     dvar = d.getVar('PKGD', True)
-    pn = d.getVar('LOCALEBASEPN', True)
+    pn = "%s%s" % (d.getVar('MLPREFIX', True) or "", d.getVar('LOCALEBASEPN', True))
 
     if pn + '-locale' in packages:
         packages.remove(pn + '-locale')