diff options
author | niko.mauno@vaisala.com <niko.mauno@vaisala.com> | 2020-09-10 16:17:58 +0000 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2020-09-12 08:55:28 -0700 |
commit | 5f196cf59dc41584750c20dcc2a8e2ed5067ab7e (patch) | |
tree | 7a905d51eb276375294443d5457ca56029c1cd6b /recipes-core/images | |
parent | e88895e109929c3e97c29870275787e49faecdd4 (diff) | |
download | meta-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.bb | 1 |
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. |
18 | IMAGE_FEATURES = "" | 18 | IMAGE_FEATURES = "" |
19 | IMAGE_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? |
21 | do_image[depends] += "${DM_VERITY_IMAGE}:do_image_${DM_VERITY_IMAGE_TYPE}" | 22 | do_image[depends] += "${DM_VERITY_IMAGE}:do_image_${DM_VERITY_IMAGE_TYPE}" |