summaryrefslogtreecommitdiff
path: root/helpers/lh_bootstrap_cdebootstrap
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2007-11-11 13:02:32 +0100
committerDaniel Baumann <daniel@debian.org>2007-11-11 13:02:32 +0100
commit1d728dcb3e7bdf84acfd99cd1ac3b27006991a31 (patch)
tree6c2d83e9cd1830685427b74d4e9a6a966097a397 /helpers/lh_bootstrap_cdebootstrap
parent792289214676915f9747f4219f86f498855eacf9 (diff)
downloadvyos-live-build-1d728dcb3e7bdf84acfd99cd1ac3b27006991a31.tar.gz
vyos-live-build-1d728dcb3e7bdf84acfd99cd1ac3b27006991a31.zip
Allowing LH_BOOTSTRAP_FLAVOUR to be minimal or mini.
Diffstat (limited to 'helpers/lh_bootstrap_cdebootstrap')
-rwxr-xr-xhelpers/lh_bootstrap_cdebootstrap10
1 files changed, 9 insertions, 1 deletions
diff --git a/helpers/lh_bootstrap_cdebootstrap b/helpers/lh_bootstrap_cdebootstrap
index 0045b2195..56e05a030 100755
--- a/helpers/lh_bootstrap_cdebootstrap
+++ b/helpers/lh_bootstrap_cdebootstrap
@@ -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" ]