diff options
author | Andrea Adami <andrea.adami@gmail.com> | 2021-06-13 00:53:59 +0200 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2021-06-27 06:57:04 -0700 |
commit | 5195f02b0d1b1ac91c3f2e1cc69c8ec9bc2ca2e0 (patch) | |
tree | b33b3e10ad77385503b92b9213520e74f3bcb90f | |
parent | 32b4237a2729f025f641f0d52bb0b1b4d93da255 (diff) | |
download | meta-openembedded-5195f02b0d1b1ac91c3f2e1cc69c8ec9bc2ca2e0.tar.gz |
initramfs-debug-image: support cases where machines override IMAGE_FSTYPES
As done for initramfs-kexecboot-image we need to use python to get the
desired value for IMAGE_FSTYPES.
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 93e139c998857048182ed4169f04cfe350eab013)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r-- | meta-initramfs/recipes-core/images/initramfs-debug-image.bb | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/meta-initramfs/recipes-core/images/initramfs-debug-image.bb b/meta-initramfs/recipes-core/images/initramfs-debug-image.bb index c3dcd2b821..601056b7e5 100644 --- a/meta-initramfs/recipes-core/images/initramfs-debug-image.bb +++ b/meta-initramfs/recipes-core/images/initramfs-debug-image.bb | |||
@@ -11,7 +11,12 @@ IMAGE_FEATURES = "" | |||
11 | export IMAGE_BASENAME = "initramfs-debug-image" | 11 | export IMAGE_BASENAME = "initramfs-debug-image" |
12 | IMAGE_LINGUAS = "" | 12 | IMAGE_LINGUAS = "" |
13 | 13 | ||
14 | IMAGE_FSTYPES = "${INITRAMFS_FSTYPES}" | 14 | # Some BSPs use IMAGE_FSTYPES_<machine override> which would override |
15 | # an assignment to IMAGE_FSTYPES so we need anon python | ||
16 | python () { | ||
17 | d.setVar("IMAGE_FSTYPES", d.getVar("INITRAMFS_FSTYPES")) | ||
18 | } | ||
19 | |||
15 | inherit core-image | 20 | inherit core-image |
16 | 21 | ||
17 | IMAGE_ROOTFS_SIZE = "8192" | 22 | IMAGE_ROOTFS_SIZE = "8192" |