From efbdc6e55cbcd49c576c7c8da2b6dd55e200b6d1 Mon Sep 17 00:00:00 2001 From: Ming Liu Date: Thu, 25 Mar 2021 12:57:09 +0100 Subject: tezi-metadata: set SSTATE_DUPWHITELIST We want to always check the latest EULA file in image_type_tezi.bbclass So we put LA_OPT_NXP_SW.html to sstate duplicate whitelist, this ensures it could be deployed to ${DEPLOY_DIR_IMAGE} as a backup even it's aleady existed. This fixes a following bitbake error: | ERROR: tezi-metadata-0.3-r0 do_deploy: The recipe tezi-metadata is | trying to install files into a shared area when those files already | exist. Those files and their manifest location are: | images/colibri-imx8x-v10b/LA_OPT_NXP_SW.html | (not matched to any task) | Please verify which recipe should provide the above files. Related-to: ELB-3485 Signed-off-by: Ming Liu --- recipes-bsp/tezi-metadata/tezi-metadata_0.3.bb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/recipes-bsp/tezi-metadata/tezi-metadata_0.3.bb b/recipes-bsp/tezi-metadata/tezi-metadata_0.3.bb index eef6d06..50149f9 100644 --- a/recipes-bsp/tezi-metadata/tezi-metadata_0.3.bb +++ b/recipes-bsp/tezi-metadata/tezi-metadata_0.3.bb @@ -10,6 +10,12 @@ SRC_URI = " \ file://LA_OPT_NXP_SW.html \ " +# We want to always check the latest EULA file in image_type_tezi.bbclass +# So we put LA_OPT_NXP_SW.html to sstate duplicate whitelist, this +# ensures it could be deployed to ${DEPLOY_DIR_IMAGE} as a backup even +# it's aleady existed. +SSTATE_DUPWHITELIST_prepend = "${DEPLOY_DIR_IMAGE}/LA_OPT_NXP_SW.html " + inherit deploy nopackages do_deploy () { -- cgit v1.2.3