Topics

[dunfell 18/32] dm-verity-image-initramfs: Drop locales from image


akuster
 

From: "niko.mauno@..." <niko.mauno@...>

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@...>
Signed-off-by: Armin Kuster <@armpit>
(cherry picked from commit 5f196cf59dc41584750c20dcc2a8e2ed5067ab7e)
---
recipes-core/images/dm-verity-image-initramfs.bb | 1 +
1 file changed, 1 insertion(+)

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 = " \

# We want a clean, minimal image.
IMAGE_FEATURES = ""
+IMAGE_LINGUAS = ""

# Can we somehow inspect reverse dependencies to avoid these variables?
do_image[depends] += "${DM_VERITY_IMAGE}:do_image_${DM_VERITY_IMAGE_TYPE}"
--
2.17.1