diff options
author | Daniel Baumann <daniel@debian.org> | 2007-09-23 10:04:41 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2007-09-23 10:04:41 +0200 |
commit | 9be72d4e6933c6ec0c611d75d53a9dfd8dbf676e (patch) | |
tree | ec480b64ed7197038b63eebb23f2b9f1829408c3 /helpers/lh_debootstrap | |
parent | cee1de85c8b7c3576ae9a899a0f9a6482f7c339f (diff) | |
download | live-build-9be72d4e6933c6ec0c611d75d53a9dfd8dbf676e.zip live-build-9be72d4e6933c6ec0c611d75d53a9dfd8dbf676e.tar.gz |
Adding live-package 0.99.24-1.
Diffstat (limited to 'helpers/lh_debootstrap')
-rwxr-xr-x | helpers/lh_debootstrap | 7 |
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 ] |