summaryrefslogtreecommitdiff
path: root/helpers/lh_binary_md5sum
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2007-09-23 10:05:18 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 18:22:26 +0100
commit28dac4f4381e67febcf7612059340d51c667fa52 (patch)
tree3e333d0f2f1fbf89a394dfb1c536e0aa3ac231c6 /helpers/lh_binary_md5sum
parent0d0de885e32ff67d57bb7def451b62d75b8920ab (diff)
downloadlive-build-28dac4f4381e67febcf7612059340d51c667fa52.zip
live-build-28dac4f4381e67febcf7612059340d51c667fa52.tar.gz
Adding live-helper 1.0~a23-1.
Diffstat (limited to 'helpers/lh_binary_md5sum')
-rwxr-xr-xhelpers/lh_binary_md5sum3
1 files changed, 2 insertions, 1 deletions
diff --git a/helpers/lh_binary_md5sum b/helpers/lh_binary_md5sum
index cb901c8..9b0d81d 100755
--- a/helpers/lh_binary_md5sum
+++ b/helpers/lh_binary_md5sum
@@ -30,6 +30,7 @@ Read_conffile config/bootstrap
Read_conffile config/chroot
Read_conffile config/binary
Read_conffile config/source
+Read_conffile "${LH_CONFIG}"
Set_defaults
Echo_message "Begin creating binary md5sum.txt..."
@@ -54,7 +55,7 @@ fi
# Calculating md5sums
cd binary
-find . -type f | sort | grep -v 'isolinux/isolinux.bin' | grep -v 'boot/grub/stage2_eltorito' | xargs md5sum > ../md5sum.txt
+find . -type f | sort | grep -v 'isolinux/isolinux.bin' | grep -v 'boot/grub/stage2_eltorito' | xargs -I{} md5sum "{}" > ../md5sum.txt
cat > md5sum.txt << EOF
This file contains the list of md5 checksums of all files on this medium.