superfluous shasum for isos
Some checks failed
Build empanada images for imagefactory / buildx (push) Failing after 5s
Build empanada container images for lorax / buildx (push) Successful in 1s

This commit is contained in:
Louis Abel 2023-11-18 14:51:57 -07:00
parent 0bbfd68611
commit 2b355c1302
Signed by: label
GPG Key ID: B37E62D143879B36

View File

@ -37,19 +37,13 @@ for COMPOSE in "${NONSIG_COMPOSE[@]}"; do
ln -s "Rocky-${REVISION}-${ARCH}-dvd1.iso" "Rocky-${ARCH}-dvd.iso"
ln -s "Rocky-${REVISION}-${ARCH}-minimal.iso" "Rocky-${ARCH}-minimal.iso"
for file in *.iso; do
printf "# %s: %s bytes\n%s\n" \
"${file}" \
"$(stat -c %s ${file} -L)" \
"$(sha256sum --tag ${file})" \
| sudo tee -a CHECKSUM;
printf "# %s: %s bytes\n%s\n" \
"${file}" \
"$(stat -c %s ${file} -L)" \
"$(sha256sum --tag ${file})" \
| sudo tee -a "${file}.CHECKSUM"
done
cat *.CHECKSUM > CHECKSUM
popd || { echo "Could not change directory"; break; }
done
rm -rf Minimal