diff options
author | Daniel Baumann <daniel@debian.org> | 2007-10-30 06:35:35 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2007-10-30 06:35:35 +0100 |
commit | d29dd22a7380dea631c003be501711e617dfc4af (patch) | |
tree | 2d0495e322966597a0354d2554dc4c508066364d /helpers/lh_bootstrap_cdebootstrap | |
parent | 2e260e9e86f5964846692dd969705a7147c688d4 (diff) | |
download | vyos-live-build-d29dd22a7380dea631c003be501711e617dfc4af.tar.gz vyos-live-build-d29dd22a7380dea631c003be501711e617dfc4af.zip |
Respecting LH_BOOTSTRAP_FLAVOUR (Closes: #448034).
Diffstat (limited to 'helpers/lh_bootstrap_cdebootstrap')
-rwxr-xr-x | helpers/lh_bootstrap_cdebootstrap | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/helpers/lh_bootstrap_cdebootstrap b/helpers/lh_bootstrap_cdebootstrap index 616e1959c..0045b2195 100755 --- a/helpers/lh_bootstrap_cdebootstrap +++ b/helpers/lh_bootstrap_cdebootstrap @@ -87,14 +87,19 @@ then CDEBOOTSTRAP_OPTIONS="${CDEBOOTSTRAP_OPTIONS} --keyring=${LH_BOOTSTRAP_KEYRING}" fi -case "${LH_PACKAGES_LISTS}" in - minimal|mini) - CDEBOOTSTRAP_OPTIONS="${CDEBOOTSTRAP_OPTIONS} --flavour=minimal" - ;; - *) - CDEBOOTSTRAP_OPTIONS="${CDEBOOTSTRAP_OPTIONS} --flavour=standard" - ;; -esac +if [ -z "${LH_BOOTSTRAP_FLAVOUR}" ] +then + case "${LH_PACKAGES_LISTS}" in + minimal|mini) + CDEBOOTSTRAP_OPTIONS="${CDEBOOTSTRAP_OPTIONS} --flavour=minimal" + ;; + *) + CDEBOOTSTRAP_OPTIONS="${CDEBOOTSTRAP_OPTIONS} --flavour=standard" + ;; + esac +else + CDEBOOTSTRAP_OPTIONS="${CDEBOOTSTRAP_OPTIONS} --flavour=${LH_BOOTSTRAP_FLAVOUR}" +fi if [ "${LH_DEBUG}" = "enabled" ] then |