diff options
author | Ming Liu <ming.liu@toradex.com> | 2019-08-10 10:02:05 +0800 |
---|---|---|
committer | Ming Liu <ming.liu@toradex.int> | 2019-08-21 01:39:22 +0000 |
commit | c1891e02dc9cb43e10d4997a3074fb4c48f7cafe (patch) | |
tree | c08249cf164bbeb55919410e66cbd9c7ae3fc902 /recipes-core | |
parent | 5d073c61c8404610b24767a96481d3bf15b819da (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-core')
0 files changed, 0 insertions, 0 deletions