diff options
author | Denys Drozdov <denys.drozdov@toradex.com> | 2021-03-17 12:59:59 +0200 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2021-03-23 17:35:47 +0100 |
commit | f5fcc646164522bf9afa73cf1c30fbc0ee1b3d47 (patch) | |
tree | 5f61c020b4e396c2e75847e3c741ae7d46e20e47 /classes | |
parent | 9e73d9e41c263a066f92a169432fdf89e0e859b1 (diff) |
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 <denys.drozdov@toradex.com>
(cherry picked from commit b29e20964a72e01193b242aefb6cde655dda7d87)
Diffstat (limited to 'classes')
-rw-r--r-- | classes/image_type_tezi.bbclass | 3 |
1 files changed, 1 insertions, 2 deletions
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 |