forked from sig_core/toolkit
redundant sha
This commit is contained in:
parent
c50a112344
commit
8b9fe76af6
@ -60,16 +60,16 @@ for ARCH in "${ARCHES[@]}"; do
|
|||||||
cp "${SOURCE}"/*.iso "${TARGET}/"
|
cp "${SOURCE}"/*.iso "${TARGET}/"
|
||||||
cp "${SOURCE}"/*.iso.manifest "${TARGET}/"
|
cp "${SOURCE}"/*.iso.manifest "${TARGET}/"
|
||||||
pushd "${TARGET}" || { echo "Could not change directory"; break; }
|
pushd "${TARGET}" || { echo "Could not change directory"; break; }
|
||||||
# shellcheck disable=SC2086
|
|
||||||
for file in *.iso; do
|
|
||||||
printf "# %s: %s bytes\n%s\n" \
|
|
||||||
"${file}" \
|
|
||||||
"$(stat -c %s ${file})" \
|
|
||||||
"$(sha256sum --tag ${file})" \
|
|
||||||
| sudo tee -a CHECKSUM;
|
|
||||||
done
|
|
||||||
popd || { echo "Could not change directory"; break; }
|
|
||||||
done
|
done
|
||||||
|
# shellcheck disable=SC2086
|
||||||
|
for file in *.iso; do
|
||||||
|
printf "# %s: %s bytes\n%s\n" \
|
||||||
|
"${file}" \
|
||||||
|
"$(stat -c %s ${file})" \
|
||||||
|
"$(sha256sum --tag ${file})" \
|
||||||
|
| sudo tee -a CHECKSUM;
|
||||||
|
done
|
||||||
|
popd || { echo "Could not change directory"; break; }
|
||||||
done
|
done
|
||||||
|
|
||||||
# make a kickstart directory
|
# make a kickstart directory
|
||||||
|
Loading…
Reference in New Issue
Block a user