diff options
author | Dongxiao Xu <dongxiao.xu@intel.com> | 2012-01-06 17:05:00 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-01-06 12:11:36 +0000 |
commit | 5a03cf2ba21832a3e86161eeb9261081b7348ff4 (patch) | |
tree | 46074c45fc0d9a4f48d7b8934004158c655b2023 | |
parent | 72fc52b61d5fe0128cb86d16bbc5e44ce266846e (diff) | |
download | poky-5a03cf2ba21832a3e86161eeb9261081b7348ff4.tar.gz |
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.
(From OE-Core rev: c5c3689b7102cc0c281de736c215d66dd4f1e874)
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | 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 275b28f4ac..295b653c97 100644 --- a/meta/classes/image.bbclass +++ b/meta/classes/image.bbclass | |||
@@ -119,7 +119,7 @@ ROOTFS_POSTPROCESS_COMMAND ?= "" | |||
119 | # some default locales | 119 | # some default locales |
120 | IMAGE_LINGUAS ?= "de-de fr-fr en-gb" | 120 | IMAGE_LINGUAS ?= "de-de fr-fr en-gb" |
121 | 121 | ||
122 | LINGUAS_INSTALL = "${@" ".join(map(lambda s: "locale-base-%s" % s, d.getVar('IMAGE_LINGUAS', 1).split()))}" | 122 | LINGUAS_INSTALL ?= "${@" ".join(map(lambda s: "locale-base-%s" % s, d.getVar('IMAGE_LINGUAS', 1).split()))}" |
123 | 123 | ||
124 | PSEUDO_PASSWD = "${IMAGE_ROOTFS}" | 124 | PSEUDO_PASSWD = "${IMAGE_ROOTFS}" |
125 | 125 | ||