summaryrefslogtreecommitdiff
path: root/helpers/lh_binary_md5sum
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2007-11-12 23:00:48 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 18:22:29 +0100
commit02a9e7166785d11aa030383fdf3ec720bd73b69e (patch)
tree9e66941c62ce7bfc3086782edb721759aa3df1cb /helpers/lh_binary_md5sum
parent75196ecbd804a7a12d91a273bf98509037e77eec (diff)
downloadvyos-live-build-02a9e7166785d11aa030383fdf3ec720bd73b69e.tar.gz
vyos-live-build-02a9e7166785d11aa030383fdf3ec720bd73b69e.zip
Adding option to disable md5sum generation.
Diffstat (limited to 'helpers/lh_binary_md5sum')
-rwxr-xr-xhelpers/lh_binary_md5sum5
1 files changed, 5 insertions, 0 deletions
diff --git a/helpers/lh_binary_md5sum b/helpers/lh_binary_md5sum
index 9b0d81dad..0c614bf87 100755
--- a/helpers/lh_binary_md5sum
+++ b/helpers/lh_binary_md5sum
@@ -33,6 +33,11 @@ Read_conffile config/source
Read_conffile "${LH_CONFIG}"
Set_defaults
+if [ "${LH_CHECKSUMS}" != "enabled" ]
+then
+ exit 0
+fi
+
Echo_message "Begin creating binary md5sum.txt..."
# Requiring stage file