forked from sig_core/toolkit
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}-dvd1.iso" "Rocky-${ARCH}-dvd.iso"
|
||||||
ln -s "Rocky-${REVISION}-${ARCH}-minimal.iso" "Rocky-${ARCH}-minimal.iso"
|
ln -s "Rocky-${REVISION}-${ARCH}-minimal.iso" "Rocky-${ARCH}-minimal.iso"
|
||||||
for file in *.iso; do
|
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" \
|
printf "# %s: %s bytes\n%s\n" \
|
||||||
"${file}" \
|
"${file}" \
|
||||||
"$(stat -c %s ${file} -L)" \
|
"$(stat -c %s ${file} -L)" \
|
||||||
"$(sha256sum --tag ${file})" \
|
"$(sha256sum --tag ${file})" \
|
||||||
| sudo tee -a "${file}.CHECKSUM"
|
| sudo tee -a "${file}.CHECKSUM"
|
||||||
|
|
||||||
done
|
done
|
||||||
|
cat *.CHECKSUM > CHECKSUM
|
||||||
popd || { echo "Could not change directory"; break; }
|
popd || { echo "Could not change directory"; break; }
|
||||||
done
|
done
|
||||||
rm -rf Minimal
|
rm -rf Minimal
|
||||||
|
Loading…
Reference in New Issue
Block a user