summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDongxiao Xu <dongxiao.xu@intel.com>2012-01-06 17:05:00 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-01-06 12:06:35 +0000
commitc5c3689b7102cc0c281de736c215d66dd4f1e874 (patch)
treebcc08f5f6525b25508f841448cd0c284240ef134
parentcaf0bdaa8f137ac7a775aff3d41ec1bfb2907afa (diff)
downloadopenembedded-core-c5c3689b7102cc0c281de736c215d66dd4f1e874.tar.gz
openembedded-core-c5c3689b7102cc0c281de736c215d66dd4f1e874.tar.bz2
openembedded-core-c5c3689b7102cc0c281de736c215d66dd4f1e874.zip
image.bbclass: Use ?= to set LINGUAS_INSTALL
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@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/image.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index 275b28f4ac..295b653c97 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}"