From 7d2d532f70a0fef97b919d39ff29d2a920e9c3c2 Mon Sep 17 00:00:00 2001 From: Otavio Salvador Date: Thu, 7 Feb 2008 18:31:35 -0200 Subject: [PATCH] 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. --- helpers/lh_bootstrap_debootstrap | 4 ++-- 1 file 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" ;; *)