From e7c875f1214e079e9dbc8786b11716d6aed41fdc Mon Sep 17 00:00:00 2001 From: Matt Hilton Date: Fri, 4 Feb 2022 07:26:27 +0000 Subject: [PATCH] fixed img hashes --- export-image/04-finalise/01-run.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/export-image/04-finalise/01-run.sh b/export-image/04-finalise/01-run.sh index 486d663e..b4906535 100755 --- a/export-image/04-finalise/01-run.sh +++ b/export-image/04-finalise/01-run.sh @@ -89,9 +89,9 @@ mkdir -p "${DEPLOY_DIR}" rm -f "${DEPLOY_DIR}/${ZIP_FILENAME}${IMG_SUFFIX}.zip" rm -f "${DEPLOY_DIR}/${IMG_FILENAME}${IMG_SUFFIX}.img" pushd "${STAGE_WORK_DIR}" > /dev/null - MD5HASH="${STAGE_WORK_DIR}/${IMG_FILENAME}.img.md5" - SHA1HASH="${STAGE_WORK_DIR}/${IMG_FILENAME}.sha1" - SHA256HASH="${STAGE_WORK_DIR}/${IMG_FILENAME}.sha256" + MD5HASH="${STAGE_WORK_DIR}/${IMG_FILENAME}${IMG_SUFFIX}.img.md5" + SHA1HASH="${STAGE_WORK_DIR}/${IMG_FILENAME}${IMG_SUFFIX}.sha1" + SHA256HASH="${STAGE_WORK_DIR}/${IMG_FILENAME}${IMG_SUFFIX}.sha256" md5sum "$(basename "${IMG_FILE}")" > "$(basename "${MD5HASH}")" sha1sum "$(basename "${IMG_FILE}")" > "$(basename "${SHA1HASH}")" sha256sum "$(basename "${IMG_FILE}")" > "$(basename "${SHA256HASH}")"