Allowing LH_BOOTSTRAP_FLAVOUR to be minimal or mini.
This commit is contained in:
parent
b6965a492b
commit
c7ad124959
|
@ -98,7 +98,15 @@ then
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
else
|
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
|
fi
|
||||||
|
|
||||||
if [ "${LH_DEBUG}" = "enabled" ]
|
if [ "${LH_DEBUG}" = "enabled" ]
|
||||||
|
|
|
@ -92,7 +92,14 @@ then
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
else
|
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
|
fi
|
||||||
else
|
else
|
||||||
DEBOOTSTRAP_OPTIONS="${DEBOOTSTRAP_OPTIONS} --variant=fakechroot"
|
DEBOOTSTRAP_OPTIONS="${DEBOOTSTRAP_OPTIONS} --variant=fakechroot"
|
||||||
|
|
Loading…
Reference in New Issue