diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2008-02-07 18:31:35 -0200 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2008-02-07 18:34:25 -0200 |
commit | 7d2d532f70a0fef97b919d39ff29d2a920e9c3c2 (patch) | |
tree | 993ee8185b52b4fb1ba56e5db99015b3f6f40bda | |
parent | c7cbfa07547cc26c030d58bcfc4b3f84a55127f8 (diff) | |
download | vyos-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-x | helpers/lh_bootstrap_debootstrap | 4 |
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" ;; *) |