summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2008-02-07 18:31:35 -0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 18:35:59 +0100
commit15cb7bb5c1fca5c586bce05280fde86e8ad9c1ee (patch)
tree993ee8185b52b4fb1ba56e5db99015b3f6f40bda
parentffa2568b55ef3dfaa673ba5a3681577b8ead8cd0 (diff)
downloadlive-build-15cb7bb5c1fca5c586bce05280fde86e8ad9c1ee.zip
live-build-15cb7bb5c1fca5c586bce05280fde86e8ad9c1ee.tar.gz
bootstrap: use minbase flavour when LH_PACKAGES_LISTS is set to minimal
Since debootstrap 1.0.8 there's a variant called minbase that installs just essentials packages so base's size is greatly reduced. Use this variant when producing reduced images.
-rwxr-xr-xhelpers/lh_bootstrap_debootstrap4
1 files changed, 2 insertions, 2 deletions
diff --git a/helpers/lh_bootstrap_debootstrap b/helpers/lh_bootstrap_debootstrap
index 8bfdd6b..a9eb7d0 100755
--- a/helpers/lh_bootstrap_debootstrap
+++ b/helpers/lh_bootstrap_debootstrap
@@ -93,13 +93,13 @@ then
then
case "${LH_PACKAGES_LISTS}" in
stripped|minimal)
- DEBOOTSTRAP_OPTIONS="${DEBOOTSTRAP_OPTIONS} --variant=buildd"
+ DEBOOTSTRAP_OPTIONS="${DEBOOTSTRAP_OPTIONS} --variant=minbase"
;;
esac
else
case "${LH_BOOTSTRAP_FLAVOUR}" in
stripped|minimal)
- DEBOOTSTRAP_OPTIONS="${DEBOOTSTRAP_OPTIONS} --variant=buildd"
+ DEBOOTSTRAP_OPTIONS="${DEBOOTSTRAP_OPTIONS} --variant=minbase"
;;
*)