forked from sig_core/toolkit
redundant sha
This commit is contained in:
parent
c50a112344
commit
8b9fe76af6
1 changed files with 9 additions and 9 deletions
|
@ -60,16 +60,16 @@ for ARCH in "${ARCHES[@]}"; do
|
|||
cp "${SOURCE}"/*.iso "${TARGET}/"
|
||||
cp "${SOURCE}"/*.iso.manifest "${TARGET}/"
|
||||
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
|
||||
# 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
|
||||
|
||||
# make a kickstart directory
|
||||
|
|
Loading…
Reference in a new issue