From 75ca21eaec4b6f80997e6cce81e8b9d54bd58e7f Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 18 Jul 2012 19:09:16 +0200 Subject: Adding support for zsync control files generation, thanks to Hector Oron for the idea and prototype. --- scripts/build/lb_config | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'scripts/build/lb_config') 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. -- cgit v1.2.3