diff options
author | Ming Liu <ming.liu@toradex.com> | 2019-08-10 10:02:05 +0800 |
---|---|---|
committer | Ming Liu <ming.liu@toradex.com> | 2019-08-19 11:47:28 +0800 |
commit | 0ea06faaed7aa6b70cf4825fb1df61409e41ba3a (patch) | |
tree | a5a14dcb539441011cff1c71c09ceab96215c53c /recipes-bsp | |
parent | 11279aebde7d65d67d4ec13b2ae2862e20a595fa (diff) |
image_type_tezi.bbclass: use IMAGE_BOOT_FILES to deploy boot files
The changes include:
- Introduce tezi_deploy_files helper function, it could be used to
install files listed in IMAGE_BOOT_FILES, the install logic is same
with how WIC handle IMAGE_BOOT_FILES.
- Use WKS_FILE_DEPENDS to handle the dependencies of do_image_teziimg
and do_image_teziimg_distro, when USING_WIC is not set, then we need
add WKS_FILE_DEPENDS to DEPENDS, or else it would be done in wic
image bbclass.
- Drop TEZI_KERNEL_IMAGETYPE and TEZI_KERNEL_DEVICETREE, now all the
boot files would be controlled by IMAGE_BOOT_FILES.
- Use ${IMAGE_LINK_NAME} instead of ${IMAGE_NAME}, to avoid including
DATETIME for torizon builds.
Patch has been verified on the following machines, the artifacts
generated with and wihtout the patch are identical:
- apalis-imx6
- apalis-imx8
- apalis-tk1
- apalis-tk1-mainline
- colibri-imx6
- colibri-imx6ull
- colibri-imx7
- colibri-imx8x
Signed-off-by: Ming Liu <ming.liu@toradex.com>
Diffstat (limited to 'recipes-bsp')
0 files changed, 0 insertions, 0 deletions