From: Dongxiao Xu Date: Fri, 6 Jan 2012 09:05:00 +0000 (+0800) Subject: image.bbclass: Use ?= to set LINGUAS_INSTALL X-Git-Tag: yocto-4.0~38501 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c5c3689b7102cc0c281de736c215d66dd4f1e874;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 Signed-off-by: Richard Purdie --- diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass index 275b28f4ac7..295b653c970 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}"