[oe-commits] Dongxiao Xu : image.bbclass: Use ?= to set LINGUAS_INSTALL

git at git.openembedded.org git at git.openembedded.org
Fri Jan 6 12:19:23 UTC 2012


Module: openembedded-core.git
Branch: master
Commit: c5c3689b7102cc0c281de736c215d66dd4f1e874
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=c5c3689b7102cc0c281de736c215d66dd4f1e874

Author: Dongxiao Xu <dongxiao.xu at intel.com>
Date:   Fri Jan  6 17:05:00 2012 +0800

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 at intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 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}"
 





More information about the Openembedded-commits mailing list