diff options
author | Daniel Baumann <daniel@debian.org> | 2012-07-18 19:09:16 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2012-07-18 19:37:20 +0200 |
commit | 75ca21eaec4b6f80997e6cce81e8b9d54bd58e7f (patch) | |
tree | fb777699b4ec6b95aba7467eee7c17615623db35 /scripts/build/lb_config | |
parent | 310be05bff5a268a874f6fb635d0f70912aaa81a (diff) | |
download | vyos-live-build-75ca21eaec4b6f80997e6cce81e8b9d54bd58e7f.tar.gz vyos-live-build-75ca21eaec4b6f80997e6cce81e8b9d54bd58e7f.zip |
Adding support for zsync control files generation, thanks to Hector Oron <hector.oron@gmail.com> for the idea and prototype.
Diffstat (limited to 'scripts/build/lb_config')
-rwxr-xr-x | scripts/build/lb_config | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/scripts/build/lb_config b/scripts/build/lb_config index 41d427b66..97719a628 100755 --- a/scripts/build/lb_config +++ b/scripts/build/lb_config @@ -55,6 +55,7 @@ USAGE="${PROGRAM} [--apt apt|aptitude]\n\ \t [--cache-stages STAGE|\"STAGES\"]\n\ \t [--checksums md5|sha1|sha256|none]\n\ \t [--compression bzip2|gzip|lzip|none]\n\ +\t [--zsync true|false]\n\ \t [--build-with-chroot true|false]\n\ \t [--chroot-filesystem ext2|ext3|ext4|squashfs|jffs2|none]\n\ \t [--clean\n\ @@ -167,7 +168,7 @@ Local_arguments () archives:,archive-areas:,parent-archive-areas:,chroot-filesystem:,exposed-root:, gzip-options:,hooks:,interactive:,keyring-packages:,linux-flavours:,linux-packages:, package-lists:,security:,volatile:,backports:,binary-filesystem:,binary-images:, - apt-indices:,bootappend-install:,bootappend-live:,bootappend-failsafe:,bootloader:,checksums:,compression:,build-with-chroot:, + apt-indices:,bootappend-install:,bootappend-live:,bootappend-failsafe:,bootloader:,checksums:,compression:,zsync:,build-with-chroot:, debian-installer:,debian-installer-distribution:,debian-installer-preseedfile:,debian-installer-gui:, grub-splash:,isohybrid-options:,hdd-label:,hdd-size:,iso-application:,iso-preparer:,iso-publisher:, iso-volume:,jffs2-eraseblock:,memtest:,net-root-filesystem:,net-root-mountoptions:, @@ -631,6 +632,11 @@ Local_arguments () shift 2 ;; + --zsync) + LB_ZSYNC="${2}" + shift 2 + ;; + --build-with-chroot) LB_BUILD_WITH_CHROOT="${2}" shift 2 @@ -1318,6 +1324,10 @@ LB_CHECKSUMS="${LB_CHECKSUMS}" # (Default: ${LB_COMPRESSION}) LB_COMPRESSION="${LB_COMPRESSION}" +# \$LB_ZSYNC: set zsync +# (Default: ${LB_ZSYNC}) +LB_ZSYNC="${LB_ZSYNC}" + # \${LB_BUILD_WITH_CHROOT: control if we build binary images chrooted # (Default: ${LB_BUILD_WITH_CHROOT}) # DO NEVER, *NEVER*, *N*E*V*E*R* SET THIS OPTION to false. |