summaryrefslogtreecommitdiff
path: root/scripts/build
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2012-07-18 19:44:00 +0200
committerDaniel Baumann <daniel@debian.org>2012-07-18 20:07:06 +0200
commitf4de284deb69795a8e4dfa1bf852259ab6b09066 (patch)
tree01cdb0830087451687d4ea29ca0059f05baeb7f0 /scripts/build
parent75ca21eaec4b6f80997e6cce81e8b9d54bd58e7f (diff)
downloadvyos-live-build-f4de284deb69795a8e4dfa1bf852259ab6b09066.tar.gz
vyos-live-build-f4de284deb69795a8e4dfa1bf852259ab6b09066.zip
Adding xz as valid compression format.
Diffstat (limited to 'scripts/build')
-rwxr-xr-xscripts/build/lb_binary_netboot4
-rwxr-xr-xscripts/build/lb_binary_tar4
-rwxr-xr-xscripts/build/lb_binary_zsync4
-rwxr-xr-xscripts/build/lb_config2
-rwxr-xr-xscripts/build/lb_source_netboot4
-rwxr-xr-xscripts/build/lb_source_tar5
6 files changed, 22 insertions, 1 deletions
diff --git a/scripts/build/lb_binary_netboot b/scripts/build/lb_binary_netboot
index 90669b0e6..b4957a3b5 100755
--- a/scripts/build/lb_binary_netboot
+++ b/scripts/build/lb_binary_netboot
@@ -157,6 +157,10 @@ case "${LB_COMPRESSION}" in
lzip ${LZIP_OPTIONS} ../binary.netboot.tar
;;
+ xz)
+ xz ${XZ_OPTIONS} ../binary.netboot.tar
+ ;;
+
none)
;;
esac
diff --git a/scripts/build/lb_binary_tar b/scripts/build/lb_binary_tar
index 4e6e614de..80630bdb0 100755
--- a/scripts/build/lb_binary_tar
+++ b/scripts/build/lb_binary_tar
@@ -61,6 +61,10 @@ case "${LB_COMPRESSION}" in
lzip ${LZIP_OPTIONS} binary-tar.tar
;;
+ xz)
+ xz ${XZ_OPTIONS} binary-tar.tar
+ ;;
+
none)
;;
esac
diff --git a/scripts/build/lb_binary_zsync b/scripts/build/lb_binary_zsync
index 21cc01784..5ec47e308 100755
--- a/scripts/build/lb_binary_zsync
+++ b/scripts/build/lb_binary_zsync
@@ -103,6 +103,10 @@ do
lzip ${LZIP_OPTIONS} ${_IMAGE}.zsync
;;
+ xz)
+ xz ${XZ_OPTIONS} ${_IMAGE}.zsync
+ ;;
+
none)
;;
esac
diff --git a/scripts/build/lb_config b/scripts/build/lb_config
index 97719a628..b185c03ef 100755
--- a/scripts/build/lb_config
+++ b/scripts/build/lb_config
@@ -54,7 +54,7 @@ USAGE="${PROGRAM} [--apt apt|aptitude]\n\
\t [--cache-packages true|false]\n\
\t [--cache-stages STAGE|\"STAGES\"]\n\
\t [--checksums md5|sha1|sha256|none]\n\
-\t [--compression bzip2|gzip|lzip|none]\n\
+\t [--compression bzip2|gzip|lzip|xz|none]\n\
\t [--zsync true|false]\n\
\t [--build-with-chroot true|false]\n\
\t [--chroot-filesystem ext2|ext3|ext4|squashfs|jffs2|none]\n\
diff --git a/scripts/build/lb_source_netboot b/scripts/build/lb_source_netboot
index 4882866ca..e979bcda1 100755
--- a/scripts/build/lb_source_netboot
+++ b/scripts/build/lb_source_netboot
@@ -66,6 +66,10 @@ case "${_COMPRESSION}" in
lzip ${LZIP_OPTIONS} source.netboot.tar
;;
+ xz)
+ xz ${XZ_OPTIONS} source.netboot.tar
+ ;;
+
none)
;;
esac
diff --git a/scripts/build/lb_source_tar b/scripts/build/lb_source_tar
index 0f9396de2..63933f06f 100755
--- a/scripts/build/lb_source_tar
+++ b/scripts/build/lb_source_tar
@@ -72,6 +72,11 @@ case "${LB_COMPRESSION}" in
lzip ${LZIP_OPTIONS} source.debian-live.tar
;;
+ xz)
+ xz ${XZ_OPTIONS} source.debian.tar
+ xz ${XZ_OPTIONS} source.debian-live.tar
+ ;;
+
none)
;;
esac