git.openpandora.org
/
openembedded.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
728e072
)
image: don't include glibc-localedata-i18n when IMAGE_LINGUAS is empty
author
Chris Larson
<chris_larson@mentor.com>
Mon, 8 Nov 2010 22:50:31 +0000
(15:50 -0700)
committer
Chris Larson
<chris_larson@mentor.com>
Mon, 8 Nov 2010 22:50:31 +0000
(15:50 -0700)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
classes/image.bbclass
patch
|
blob
|
history
diff --git
a/classes/image.bbclass
b/classes/image.bbclass
index
583e9c4
..
d98ba5c
100644
(file)
--- 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}"