Allowing LH_BOOTSTRAP_FLAVOUR to be minimal or mini.

This commit is contained in:
Daniel Baumann 2007-11-11 13:02:32 +01:00
parent 7922892146
commit 1d728dcb3e
2 changed files with 17 additions and 2 deletions

View File

@ -98,7 +98,15 @@ then
;;
esac
else
CDEBOOTSTRAP_OPTIONS="${CDEBOOTSTRAP_OPTIONS} --flavour=${LH_BOOTSTRAP_FLAVOUR}"
case "${LH_BOOTSTRAP_FLAVOUR}" in
minimal|mini)
CDEBOOTSTRAP_OPTIONS="${CDEBOOTSTRAP_OPTIONS} --flavour=minimal"
;;
*)
CDEBOOTSTRAP_OPTIONS="${CDEBOOTSTRAP_OPTIONS} --flavour=${LH_BOOTSTRAP_FLAVOUR}"
;;
esac
fi
if [ "${LH_DEBUG}" = "enabled" ]

View File

@ -92,7 +92,14 @@ then
;;
esac
else
DEBOOTSTRAP_OPTIONS="${DEBOOTSTRAP_OPTIONS} --variant=${LH_BOOTSTRAP_FLAVOUR}"
case "${LH_BOOTSTRAP_FLAVOUR}" in
minimal|mini)
DEBOOTSTRAP_OPTIONS="${DEBOOTSTRAP_OPTIONS} --variant=buildd"
;;
*)
DEBOOTSTRAP_OPTIONS="${DEBOOTSTRAP_OPTIONS} --variant=${LH_BOOTSTRAP_FLAVOUR}"
esac
fi
else
DEBOOTSTRAP_OPTIONS="${DEBOOTSTRAP_OPTIONS} --variant=fakechroot"