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.
This commit is contained in:
Otavio Salvador 2008-02-07 18:31:35 -02:00
parent c7cbfa0754
commit 7d2d532f70
1 changed files with 2 additions and 2 deletions

View File

@ -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"
;;
*)