summaryrefslogtreecommitdiff
path: root/helpers/lh_source_md5sum
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2007-09-23 10:05:13 +0200
committerDaniel Baumann <daniel@debian.org>2007-09-23 10:05:13 +0200
commitae5c245c5d0b910b9fde27f99668c46f64f9bcc2 (patch)
tree3bc1bcdbff4ec3bd5a82ae34d9efed47b157e3e0 /helpers/lh_source_md5sum
parentb88a20b5ddd2c64c9b1f072905dce8eb9e09fc0d (diff)
downloadvyos-live-build-ae5c245c5d0b910b9fde27f99668c46f64f9bcc2.tar.gz
vyos-live-build-ae5c245c5d0b910b9fde27f99668c46f64f9bcc2.zip
Adding live-helper 1.0~a17-1.
Diffstat (limited to 'helpers/lh_source_md5sum')
-rwxr-xr-xhelpers/lh_source_md5sum14
1 files changed, 13 insertions, 1 deletions
diff --git a/helpers/lh_source_md5sum b/helpers/lh_source_md5sum
index 767469284..81caef45c 100755
--- a/helpers/lh_source_md5sum
+++ b/helpers/lh_source_md5sum
@@ -60,7 +60,19 @@ fi
# Calculating md5sums
cd source
find . -type f | sort | 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}"
# Creating stage file