summaryrefslogtreecommitdiffstats
path: root/recipes-core/images
diff options
context:
space:
mode:
authorniko.mauno@vaisala.com <niko.mauno@vaisala.com>2020-09-10 16:17:58 +0000
committerArmin Kuster <akuster808@gmail.com>2020-09-12 08:55:28 -0700
commit5f196cf59dc41584750c20dcc2a8e2ed5067ab7e (patch)
tree7a905d51eb276375294443d5457ca56029c1cd6b /recipes-core/images
parente88895e109929c3e97c29870275787e49faecdd4 (diff)
downloadmeta-security-5f196cf59dc41584750c20dcc2a8e2ed5067ab7e.tar.gz
dm-verity-image-initramfs: Drop locales from image
Since IMAGE_LINGUAS defaults to 'en-us en-gb' and since localization is not needed on this type of purpose-specific initramfs image, reset the variable which helps by shaving off almost 700kB from resulting bundled zImage-initramfs artifact. Signed-off-by: Niko Mauno <niko.mauno@vaisala.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'recipes-core/images')
-rw-r--r--recipes-core/images/dm-verity-image-initramfs.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/recipes-core/images/dm-verity-image-initramfs.bb b/recipes-core/images/dm-verity-image-initramfs.bb
index 05ab10c..187aeae 100644
--- a/recipes-core/images/dm-verity-image-initramfs.bb
+++ b/recipes-core/images/dm-verity-image-initramfs.bb
@@ -16,6 +16,7 @@ PACKAGE_INSTALL = " \
16 16
17# We want a clean, minimal image. 17# We want a clean, minimal image.
18IMAGE_FEATURES = "" 18IMAGE_FEATURES = ""
19IMAGE_LINGUAS = ""
19 20
20# Can we somehow inspect reverse dependencies to avoid these variables? 21# Can we somehow inspect reverse dependencies to avoid these variables?
21do_image[depends] += "${DM_VERITY_IMAGE}:do_image_${DM_VERITY_IMAGE_TYPE}" 22do_image[depends] += "${DM_VERITY_IMAGE}:do_image_${DM_VERITY_IMAGE_TYPE}"