summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2008-02-07 18:31:35 -0200
committerOtavio Salvador <otavio@ossystems.com.br>2008-02-07 18:34:25 -0200
commit7d2d532f70a0fef97b919d39ff29d2a920e9c3c2 (patch)
tree993ee8185b52b4fb1ba56e5db99015b3f6f40bda
parentc7cbfa07547cc26c030d58bcfc4b3f84a55127f8 (diff)
downloadvyos-live-build-7d2d532f70a0fef97b919d39ff29d2a920e9c3c2.tar.gz
vyos-live-build-7d2d532f70a0fef97b919d39ff29d2a920e9c3c2.zip
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 8bfdd6be6..a9eb7d04e 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"
;;
*)