create shasums for .raw.zst files too

This commit is contained in:
Pratham Patel 2023-10-10 11:16:48 +05:30
parent 15c5e5afcb
commit 1fde830d55
No known key found for this signature in database

View File

@ -46,8 +46,8 @@ find . -type f \( -name "*.log" -o -name "*.raw*" \) -exec mv {} "${APPLIANCE_BA
rm -rf "${APPLIANCE_BASE}"-{GPT,MBR} rm -rf "${APPLIANCE_BASE}"-{GPT,MBR}
pushd "${APPLIANCE_BASE}" || exit 1 pushd "${APPLIANCE_BASE}" || exit 1
sha512sum -- *.raw > SHA512SUMS sha512sum -- *.raw* > SHA512SUMS
sha256sum -- *.raw > SHA256SUMS sha256sum -- *.raw* > SHA256SUMS
popd || exit 1 popd || exit 1
if [[ -n "$1" ]]; then if [[ -n "$1" ]]; then