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-06 12:03:47 +0000 |
commit | 7c6183a93f79ef3c387100ced8388824a7f5e0f9 (patch) | |
tree | ae625abb94667532fdd7b36782b15ec7fdd51e98 /meta/classes-recipe | |
parent | 99b4356b3507f204749124f89cf3217b45882031 (diff) | |
download | poky-7c6183a93f79ef3c387100ced8388824a7f5e0f9.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: eb402948158659da7de0fbbb1bb403c8dad06e2b)
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>
Diffstat (limited to 'meta/classes-recipe')
-rw-r--r-- | meta/classes-recipe/image.bbclass | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/meta/classes-recipe/image.bbclass b/meta/classes-recipe/image.bbclass index a06c9f544d..d9472a795a 100644 --- a/meta/classes-recipe/image.bbclass +++ b/meta/classes-recipe/image.bbclass | |||
@@ -182,8 +182,7 @@ python () { | |||
182 | 182 | ||
183 | IMAGE_POSTPROCESS_COMMAND ?= "" | 183 | IMAGE_POSTPROCESS_COMMAND ?= "" |
184 | 184 | ||
185 | # some default locales | 185 | IMAGE_LINGUAS ??= "" |
186 | IMAGE_LINGUAS ?= "de-de fr-fr en-gb" | ||
187 | 186 | ||
188 | LINGUAS_INSTALL ?= "${@" ".join(map(lambda s: "locale-base-%s" % s, d.getVar('IMAGE_LINGUAS').split()))}" | 187 | LINGUAS_INSTALL ?= "${@" ".join(map(lambda s: "locale-base-%s" % s, d.getVar('IMAGE_LINGUAS').split()))}" |
189 | 188 | ||