summaryrefslogtreecommitdiff
path: root/helpers/lh_debootstrap
diff options
context:
space:
mode:
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 738179bde..fd43b16ea 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 ]