From c5c3689b7102cc0c281de736c215d66dd4f1e874 Mon Sep 17 00:00:00 2001 From: Dongxiao Xu Date: Fri, 6 Jan 2012 17:05:00 +0800 Subject: 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 --- meta/classes/image.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}" -- cgit v1.2.3