summaryrefslogtreecommitdiff
path: root/scripts/build
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2012-09-30 17:34:08 +0200
committerDaniel Baumann <daniel@debian.org>2012-09-30 17:34:08 +0200
commit64664bb4756361194ce87124b028ff2504d5d196 (patch)
treef833ce7921bc267b21304ea73b50318a7416389f /scripts/build
parentefe7090bdb45ffa9ab13d54a2c1e4dafd01f10aa (diff)
downloadvyos-live-build-64664bb4756361194ce87124b028ff2504d5d196.tar.gz
vyos-live-build-64664bb4756361194ce87124b028ff2504d5d196.zip
Only producing zsync files for iso and iso-hybrid images.
Diffstat (limited to 'scripts/build')
-rwxr-xr-xscripts/build/binary_zsync5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/build/binary_zsync b/scripts/build/binary_zsync
index 7fdaf596a..f43fe8a43 100755
--- a/scripts/build/binary_zsync
+++ b/scripts/build/binary_zsync
@@ -24,6 +24,11 @@ Arguments "${@}"
Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source
Set_defaults
+if [ "${LB_BINARY_IMAGES}" != "iso" ] && [ "${LB_BINARY_IMAGES}" != "iso-hybrid" ]
+then
+ exit 0
+fi
+
if [ "${LB_ZSYNC}" != "true" ]
then
exit 0