summaryrefslogtreecommitdiff
path: root/scripts/01-bootstrap.sh
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2007-09-23 10:04:21 +0200
committerDaniel Baumann <daniel@debian.org>2007-09-23 10:04:21 +0200
commitfb35af8aa207ef5377022028d9e2b497445fb349 (patch)
treee928737e9e000d1f2509395f58f04465c17794c5 /scripts/01-bootstrap.sh
parent18e4f460bf1c115c62ea9aebb56d75d486322531 (diff)
downloadlive-build-fb35af8aa207ef5377022028d9e2b497445fb349.zip
live-build-fb35af8aa207ef5377022028d9e2b497445fb349.tar.gz
Adding live-package 0.99.3-1.
Diffstat (limited to 'scripts/01-bootstrap.sh')
-rw-r--r--scripts/01-bootstrap.sh43
1 files changed, 0 insertions, 43 deletions
diff --git a/scripts/01-bootstrap.sh b/scripts/01-bootstrap.sh
deleted file mode 100644
index 934737c..0000000
--- a/scripts/01-bootstrap.sh
+++ /dev/null
@@ -1,43 +0,0 @@
-# scripts/01-bootstrap.sh
-
-Bootstrap ()
-{
- if [ -z "${LIVE_ROOTFS}" ]
- then
- # Create chroot directory
- mkdir -p "${LIVE_CHROOT}"
-
- if [ -z "${LIVE_VERBOSE}" ]
- then
- if [ -x /usr/bin/cdebootstrap ]
- then
- # Bootstrap with cdebootstrap
- cdebootstrap --arch="${LIVE_ARCHITECTURE}" \
- --flavour="${LIVE_FLAVOUR}" \
- "${LIVE_DISTRIBUTION}" \
- "${LIVE_CHROOT}" "${LIVE_MIRROR}"
- elif [ -x /usr/sbin/debootstrap ]
- then
- # Bootstrap with debootstrap
- debootstrap --arch="${LIVE_ARCHITECTURE}" \
- "${LIVE_DISTRIBUTION}" \
- "${LIVE_CHROOT}" "${LIVE_MIRROR}"
- fi
- else
- if [ -x /usr/bin/cdebootstrap ]
- then
- # Bootstrap with cdebootstrap (debug)
- cdebootstrap --arch="${LIVE_ARCHITECTURE}" \
- --debug --flavour="${LIVE_FLAVOUR}" \
- "${LIVE_DISTRIBUTION}" \
- "${LIVE_CHROOT}" "${LIVE_MIRROR}"
- elif [ -x /usr/sbin/debootstrap ]
- then
- # Bootstrap with debootstrap (debug)
- debootstrap --arch="${LIVE_ARCHITECTURE}" \
- --verbose "${LIVE_DISTRIBUTION}" \
- "${LIVE_CHROOT}" "${LIVE_MIRROR}"
- fi
- fi
- fi
-}