summaryrefslogtreecommitdiff
path: root/src/scripts/11bootstrap.sh
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2007-09-23 10:04:40 +0200
committerDaniel Baumann <daniel@debian.org>2007-09-23 10:04:40 +0200
commit9a9491318d4a0469e4c97b28879ab34391c39095 (patch)
treeea026c746cb88285b5f04cf0211e2e034534e639 /src/scripts/11bootstrap.sh
parentaf04c39b8b9a20d70e7123c57ec175e1b34d7d94 (diff)
downloadlive-build-9a9491318d4a0469e4c97b28879ab34391c39095.zip
live-build-9a9491318d4a0469e4c97b28879ab34391c39095.tar.gz
Adding live-package 0.99.21-1.
Diffstat (limited to 'src/scripts/11bootstrap.sh')
-rw-r--r--src/scripts/11bootstrap.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/scripts/11bootstrap.sh b/src/scripts/11bootstrap.sh
index 224ac19..bc3a2ab 100644
--- a/src/scripts/11bootstrap.sh
+++ b/src/scripts/11bootstrap.sh
@@ -24,7 +24,12 @@ Bootstrap ()
fi
# Bootstrap system
- cdebootstrap --arch="${LIVE_ARCHITECTURE}" --flavour="${LIVE_FLAVOUR}" ${SUITE_CONFIG} "${LIVE_DISTRIBUTION}" "${LIVE_CHROOT}" "${LIVE_MIRROR}"
+ if [ "${LIVE_FLAVOUR}" = "mini" ]
+ then
+ cdebootstrap --arch="${LIVE_ARCHITECTURE}" --flavour=minimal ${SUITE_CONFIG} "${LIVE_DISTRIBUTION}" "${LIVE_CHROOT}" "${LIVE_MIRROR}"
+ else
+ cdebootstrap --arch="${LIVE_ARCHITECTURE}" --flavour="${LIVE_FLAVOUR}" ${SUITE_CONFIG} "${LIVE_DISTRIBUTION}" "${LIVE_CHROOT}" "${LIVE_MIRROR}"
+ fi
# Remove unused packages
Chroot_exec "dpkg -P cdebootstrap-helper-diverts"