[OE-core] [PATCH 2/7] image.bbclass: Use ?= to set LINGUAS_INSTALL

Dongxiao Xu dongxiao.xu at intel.com
Fri Jan 6 09:05:00 UTC 2012


Hob may dynamically sets BBLAYERS to bitbake server, thus we need a
flexible way to load LINGUAS_INSTALL value.

Signed-off-by: Dongxiao Xu <dongxiao.xu at intel.com>
---
 meta/classes/image.bbclass |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index 275b28f..295b653 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -119,7 +119,7 @@ ROOTFS_POSTPROCESS_COMMAND ?= ""
 # some default locales
 IMAGE_LINGUAS ?= "de-de fr-fr en-gb"
 
-LINGUAS_INSTALL = "${@" ".join(map(lambda s: "locale-base-%s" % s, d.getVar('IMAGE_LINGUAS', 1).split()))}"
+LINGUAS_INSTALL ?= "${@" ".join(map(lambda s: "locale-base-%s" % s, d.getVar('IMAGE_LINGUAS', 1).split()))}"
 
 PSEUDO_PASSWD = "${IMAGE_ROOTFS}"
 
-- 
1.7.0.4





More information about the Openembedded-core mailing list