summaryrefslogtreecommitdiff
path: root/helpers/lh_debootstrap
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2007-09-23 10:04:41 +0200
committerDaniel Baumann <daniel@debian.org>2007-09-23 10:04:41 +0200
commit9be72d4e6933c6ec0c611d75d53a9dfd8dbf676e (patch)
treeec480b64ed7197038b63eebb23f2b9f1829408c3 /helpers/lh_debootstrap
parentcee1de85c8b7c3576ae9a899a0f9a6482f7c339f (diff)
downloadlive-build-9be72d4e6933c6ec0c611d75d53a9dfd8dbf676e.zip
live-build-9be72d4e6933c6ec0c611d75d53a9dfd8dbf676e.tar.gz
Adding live-package 0.99.24-1.
Diffstat (limited to 'helpers/lh_debootstrap')
-rwxr-xr-xhelpers/lh_debootstrap7
1 files changed, 6 insertions, 1 deletions
diff --git a/helpers/lh_debootstrap b/helpers/lh_debootstrap
index 738179b..fd43b16 100755
--- a/helpers/lh_debootstrap
+++ b/helpers/lh_debootstrap
@@ -8,7 +8,12 @@ then
mkdir -p "${LIVE_CHROOT}"
fi
- debootstrap --arch="${LIVE_ARCHITECTURE}" --variant=buildd "${LIVE_DISTRIBUTION}" "${LIVE_CHROOT}" "${LIVE_MIRROR}"
+ if [ -n "${LIVE_BOOTSTRAP_CONFIG}" ];
+ then
+ LIVE_DEBOOTSTRAP_SCRIPT="/usr/lib/debootstrap/scripts/${LIVE_BOOTSTRAP_CONFIG}"
+ fi
+
+ debootstrap --arch="${LIVE_ARCHITECTURE}" --variant=buildd "${LIVE_DISTRIBUTION}" "${LIVE_CHROOT}" "${LIVE_MIRROR}" "${LIVE_DEBOOTSTRAP_SCRIPT}"
# Touching stage file
if [ ! -d "${LIVE_ROOT}"/.stage ]