superfluous shasum for isos
This commit is contained in:
parent
0bbfd68611
commit
2b355c1302
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user