summaryrefslogtreecommitdiff
path: root/functions/defaults.sh
diff options
context:
space:
mode:
authorColin Watson <cjwatson@canonical.com>2011-06-13 20:38:44 +0200
committerDaniel Baumann <daniel@debian.org>2011-06-13 20:38:44 +0200
commit5d228a8e3ecc60bc481e8ad17d1687cc706de649 (patch)
treeb106ca42d4764c2abe33d7d6ef7d6fa1fab1f76f /functions/defaults.sh
parentd5510c99100303d73c00dd59907aeda83594d3b5 (diff)
downloadvyos-live-build-5d228a8e3ecc60bc481e8ad17d1687cc706de649.tar.gz
vyos-live-build-5d228a8e3ecc60bc481e8ad17d1687cc706de649.zip
Add --initramfs-compression option (Closes: #627677).
Diffstat (limited to 'functions/defaults.sh')
-rwxr-xr-xfunctions/defaults.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh
index 3bb9adc33..4379704ff 100755
--- a/functions/defaults.sh
+++ b/functions/defaults.sh
@@ -84,6 +84,8 @@ Set_defaults ()
LZIP_OPTIONS="${LZIP_OPTIONS:---best}"
+ LZMA_OPTIONS="${LZMA_OPTIONS:---best}"
+
# Setting apt recommends
case "${LB_MODE}" in
emdebian|progress)
@@ -153,6 +155,8 @@ Set_defaults ()
;;
esac
+ LB_INITRAMFS_COMPRESSION="${LB_INITRAMFS_COMPRESSION:-gzip}"
+
# Setting initsystem
case "${LB_MODE}" in
ubuntu)