aboutsummaryrefslogtreecommitdiff
path: root/classes/image.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'classes/image.bbclass')
-rw-r--r--classes/image.bbclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/classes/image.bbclass b/classes/image.bbclass
index 583e9c4..d98ba5c 100644
--- a/classes/image.bbclass
+++ b/classes/image.bbclass
@@ -33,7 +33,8 @@ IMAGE_BOOT ?= "${IMAGE_INITSCRIPTS} \
IMAGE_LINGUAS ?= "de-de fr-fr en-gb"
LINGUAS_INSTALL = ""
-LINGUAS_INSTALL_linux = "glibc-localedata-i18n"
+LINGUAS_INSTALL_linux = "${@base_ifelse(d.getVar('IMAGE_LINGUAS', True), \
+ 'glibc-localedata-i18n', '')}"
LINGUAS_INSTALL_linux += "${@' '.join(map(lambda s: 'locale-base-%s' % s, '${IMAGE_LINGUAS}'.split()))}"
LINGUAS_INSTALL_linux-gnueabi = "${LINGUAS_INSTALL_linux}"