diff options
author | Daniel Baumann <daniel@debian.org> | 2007-11-11 13:02:32 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 18:22:28 +0100 |
commit | c7ad124959cf6dc9275528805ff38b6fad82164e (patch) | |
tree | 6c2d83e9cd1830685427b74d4e9a6a966097a397 /helpers/lh_bootstrap_debootstrap | |
parent | b6965a492b91eddfdbb46170f47e8cc6286bb4a9 (diff) | |
download | live-build-c7ad124959cf6dc9275528805ff38b6fad82164e.zip live-build-c7ad124959cf6dc9275528805ff38b6fad82164e.tar.gz |
Allowing LH_BOOTSTRAP_FLAVOUR to be minimal or mini.
Diffstat (limited to 'helpers/lh_bootstrap_debootstrap')
-rwxr-xr-x | helpers/lh_bootstrap_debootstrap | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/helpers/lh_bootstrap_debootstrap b/helpers/lh_bootstrap_debootstrap index 838a3de..69d9cd0 100755 --- a/helpers/lh_bootstrap_debootstrap +++ b/helpers/lh_bootstrap_debootstrap @@ -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" |