summaryrefslogtreecommitdiff
path: root/helpers/lh_binary_md5sum
diff options
context:
space:
mode:
Diffstat (limited to 'helpers/lh_binary_md5sum')
-rwxr-xr-xhelpers/lh_binary_md5sum13
1 files changed, 12 insertions, 1 deletions
diff --git a/helpers/lh_binary_md5sum b/helpers/lh_binary_md5sum
index 861bce0d6..cb901c8e4 100755
--- a/helpers/lh_binary_md5sum
+++ b/helpers/lh_binary_md5sum
@@ -55,7 +55,18 @@ fi
# Calculating md5sums
cd binary
find . -type f | sort | grep -v 'isolinux/isolinux.bin' | grep -v 'boot/grub/stage2_eltorito' | xargs md5sum > ../md5sum.txt
-mv ../md5sum.txt ./
+
+cat > md5sum.txt << EOF
+This file contains the list of md5 checksums of all files on this medium.
+
+You can verify them automatically with the 'integrity-check' boot parameter,
+or, manually with: 'md5sum -c md5sum.txt'.
+
+
+EOF
+
+cat ../md5sum.txt >> md5sum.txt
+rm -f ../md5sum.txt
cd "${OLDPWD}"