diff options
author | Tom Hochstein <tom.hochstein@nxp.com> | 2022-06-15 11:54:28 -0500 |
---|---|---|
committer | Tom Hochstein <tom.hochstein@nxp.com> | 2022-06-15 12:38:04 -0500 |
commit | cca3a8a7a603d7dbf91fb3ceaa67168725888136 (patch) | |
tree | df9bea8ab50e4df66748104a30fb76bb408e5b7f /classes/use-imx-security-controller-firmware.bbclass | |
parent | 6b56658a97976eaa404511f768ce518b5ba147db (diff) | |
download | meta-freescale-cca3a8a7a603d7dbf91fb3ceaa67168725888136.tar.gz |
mfgtool-initramfs-image: Fix override of IMAGE_FSTYPES
The fix to allow the user to override the IMAGE_FSTYPES setting for
mfgtool-initramfs-image [1] does break the default behavior by turning
the setting into a no-op:
```
# $IMAGE_FSTYPES [6 operations]
# set? /.../sources/meta-freescale/conf/machine/include/imx-base.inc:463
# "${SOC_DEFAULT_IMAGE_FSTYPES}"
# set /.../sources/poky/meta/conf/documentation.conf:214
# [doc] "Formats of root filesystem images that you want to have created."
# set? /.../sources/poky/meta/conf/bitbake.conf:832
# "tar.gz"
# set? /.../sources/meta-freescale/classes/mfgtool-initramfs-image.bbclass:16
# "cpio.zst.u-boot"
# override[mxs-generic-bsp]:set? /.../sources/meta-freescale/classes/mfgtool-initramfs-image.bbclass:17
# "cpio.gz.u-boot"
# pre-expansion value:
# "${SOC_DEFAULT_IMAGE_FSTYPES}"
IMAGE_FSTYPES="wic.bmap wic.gz"
```
The layer uses an extra variable SOC_DEFAULT_IMAGE_FSTYPES to override
IMAGE_FSTYPES [2], so use it here.
[1] 0a29050 classes: IMAGE_FSTYPES as weak variable in mfgtool-initramfs-image
[2] 541b8b8 imx-base.inc: Move IMAGE_FSTYPES override to a SoC variable
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Diffstat (limited to 'classes/use-imx-security-controller-firmware.bbclass')
0 files changed, 0 insertions, 0 deletions