diff options
author | Kevin Hao <kexin.hao@windriver.com> | 2024-02-22 09:21:54 +0800 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2024-03-27 12:36:58 -0400 |
commit | d80cd2ba6a3ef850cef12578671a5b17d86d3e7c (patch) | |
tree | 8c2581fa23799f15d841b2c9337bd5d628c01315 /dynamic-layers/meta-python/recipes-devtools/python/python3-flask-script_2.0.6.bb | |
parent | 7b951e3900943b5f4a05a0c06cdff6bd29b4fa00 (diff) | |
download | meta-security-d80cd2ba6a3ef850cef12578671a5b17d86d3e7c.tar.gz |
dm-verity: Set the IMAGE_FSTYPES correctly when dm-verity is enabled
After the using inherit_defer for the image classes in oe-core commit
451363438d38 ("classes/recipes: Switch to use inherit_defer"),
the using of anonymous python function in dm-verity-img.bbclass to
set the IMAGE_FSTYPES doesn't work anymore. The reason is that
image.bbclass also use anonymous python function to add the do_image_xxx
task for the corresponding filesystem type. The anonymous function in
dm-verity-img.bbclass is evaluated much later than the one in
image.bbclass. Then the task such as do_image_vhash will not be added
as we expect. So we choose to use "+=" to set the IMAGE_FSTYPES.
The populate_sdk_ext.bbclass may generate a dependency list like below:
core-image-minimal.do_sdk_depends -> lib32-core-image-minimal.do_image_vhash
So we also need to make sure the do_image_vhash task for the multilib
filesystem is added.
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'dynamic-layers/meta-python/recipes-devtools/python/python3-flask-script_2.0.6.bb')
0 files changed, 0 insertions, 0 deletions