summaryrefslogtreecommitdiff
path: root/scripts/build/binary_checksums
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build/binary_checksums')
-rwxr-xr-xscripts/build/binary_checksums19
1 files changed, 7 insertions, 12 deletions
diff --git a/scripts/build/binary_checksums b/scripts/build/binary_checksums
index 3d79aab91..75c6fe770 100755
--- a/scripts/build/binary_checksums
+++ b/scripts/build/binary_checksums
@@ -55,20 +55,15 @@ do
\! -path './boot/grub/stage2_eltorito' \
\! -path './*SUMS' \
\! -path './*sum.txt' \
- -print0 | sort -z | xargs -0 ${CHECKSUM}sum > ../${CHECKSUMS}
+ \! -path './*sum.README' \
+ -print0 | sort -z | xargs -0 ${CHECKSUM}sum > ${CHECKSUMS}
-cat > ${CHECKSUMS} << EOF
-## This file contains the list of ${CHECKSUM} checksums of all files on this
-## medium.
-##
-## You can verify them automatically with the 'verify-checksums' boot parameter,
-## or, manually with: '${CHECKSUM}sum -c ${CHECKSUMS}'.
-##
-##
-EOF
+cat > ${CHECKSUM}sum.README << EOF
+The file ${CHECKSUMS} contains the ${CHECKSUM} checksums of all files on this medium.
- cat ../${CHECKSUMS} >> ${CHECKSUMS}
- rm -f ../${CHECKSUMS}
+You can verify them automatically with the 'verify-checksums' boot parameter,
+or, manually with: '${CHECKSUM}sum -c ${CHECKSUMS}'.
+EOF
cd "${OLDPWD}"
done