diff options
author | Alex Kiernan <alex.kiernan@gmail.com> | 2023-01-03 08:23:33 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-01-26 23:37:05 +0000 |
commit | 2a693e549942aaf7a5bd7cf6b15d59a2f6d0cfe3 (patch) | |
tree | 7bf91671134bcbbe3ae7818e151bc5e93fc64aa6 /meta | |
parent | 2453dfa90af40286618511eab41aa19aaf054804 (diff) | |
download | poky-2a693e549942aaf7a5bd7cf6b15d59a2f6d0cfe3.tar.gz |
classes: image: Set empty weak default IMAGE_LINGUAS
This is already set in default-distrovars.inc and so this assignment
will almost never succeed. Rather than leaving it to confuse, set an
empty weak default.
(From OE-Core rev: bc620b0e241f9e1592cdb89e87d49a247bc69767)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit eb402948158659da7de0fbbb1bb403c8dad06e2b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/image.bbclass | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass index 2139a7e576..c424c4c41d 100644 --- a/meta/classes/image.bbclass +++ b/meta/classes/image.bbclass | |||
@@ -177,8 +177,7 @@ python () { | |||
177 | 177 | ||
178 | IMAGE_POSTPROCESS_COMMAND ?= "" | 178 | IMAGE_POSTPROCESS_COMMAND ?= "" |
179 | 179 | ||
180 | # some default locales | 180 | IMAGE_LINGUAS ??= "" |
181 | IMAGE_LINGUAS ?= "de-de fr-fr en-gb" | ||
182 | 181 | ||
183 | LINGUAS_INSTALL ?= "${@" ".join(map(lambda s: "locale-base-%s" % s, d.getVar('IMAGE_LINGUAS').split()))}" | 182 | LINGUAS_INSTALL ?= "${@" ".join(map(lambda s: "locale-base-%s" % s, d.getVar('IMAGE_LINGUAS').split()))}" |
184 | 183 | ||