From f5fcc646164522bf9afa73cf1c30fbc0ee1b3d47 Mon Sep 17 00:00:00 2001 From: Denys Drozdov Date: Wed, 17 Mar 2021 12:59:59 +0200 Subject: image_type_tezi.bbclass: NXP license backup Keep hard-copy version of license file in sstate cache in case of NXP connection error Related-to: ELB-3485 Signed-off-by: Denys Drozdov (cherry picked from commit b29e20964a72e01193b242aefb6cde655dda7d87) --- classes/image_type_tezi.bbclass | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'classes') diff --git a/classes/image_type_tezi.bbclass b/classes/image_type_tezi.bbclass index c10a325..32a39eb 100644 --- a/classes/image_type_tezi.bbclass +++ b/classes/image_type_tezi.bbclass @@ -370,8 +370,7 @@ IMAGE_CMD_teziimg () { # Copy image json file to ${WORKDIR}/image-json cp ${IMGDEPLOYDIR}/image*.json ${WORKDIR}/image-json/image.json - # Keep License up to date - curl -k -O ${TEZI_EULA_URL} + curl -k --retry 5 -O ${TEZI_EULA_URL} || true EULA_FILE=$(echo "${TEZI_EULA_URL##*/}") # The first transform strips all folders from the files to tar, the -- cgit v1.2.3