mirror of
https://git.yoctoproject.org/poky
synced 2026-04-22 06:32:12 +02:00
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}")
(From OE-Core rev: 855d64a3091c5358e2e1a7f4247929515b068708)
Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
785512a306
commit
94516ced8d
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user