Skip to content

Commit

Permalink
fixed img hashes
Browse files Browse the repository at this point in the history
  • Loading branch information
matt2005 committed Feb 4, 2022
1 parent eb2b66e commit e7c875f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions export-image/04-finalise/01-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}")"
Expand Down

0 comments on commit e7c875f

Please sign in to comment.