From 15cb7bb5c1fca5c586bce05280fde86e8ad9c1ee Mon Sep 17 00:00:00 2001
From: Otavio Salvador <otavio@ossystems.com.br>
Date: Thu, 7 Feb 2008 18:31:35 -0200
Subject: 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 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"
 				;;
 
 			*)
-- 
cgit v1.0