summaryrefslogtreecommitdiff
path: root/scripts/build
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2010-11-29 23:04:05 +0100
committerDaniel Baumann <daniel@debian.org>2010-11-29 23:04:05 +0100
commit780b86aebf62a2c6ed03320827ff390b6b0ffb65 (patch)
treeaa96728f83717f5dd2ab6929e76f3f23c9f89d77 /scripts/build
parente453296201292a9487ca65eb4fe222890580d977 (diff)
downloadvyos-live-build-780b86aebf62a2c6ed03320827ff390b6b0ffb65.tar.gz
vyos-live-build-780b86aebf62a2c6ed03320827ff390b6b0ffb65.zip
Applying slightly modified patch from Michael Hudson <michael.hudson@canonical.com> to make arguments in debootstrap calls more robust.
Diffstat (limited to 'scripts/build')
-rwxr-xr-xscripts/build/lb_bootstrap_debootstrap4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/build/lb_bootstrap_debootstrap b/scripts/build/lb_bootstrap_debootstrap
index 25028889b..c25a7695d 100755
--- a/scripts/build/lb_bootstrap_debootstrap
+++ b/scripts/build/lb_bootstrap_debootstrap
@@ -55,13 +55,13 @@ mkdir -p chroot
# Setting debootstrap options
if [ -n "${LB_ARCHITECTURE}" ]
then
- DEBOOTSTRAP_OPTIONS="${DEBOOTSTRAP_OPTIONS} --arch ${LB_ARCHITECTURE}"
+ DEBOOTSTRAP_OPTIONS="${DEBOOTSTRAP_OPTIONS} --arch=${LB_ARCHITECTURE}"
fi
if [ "${LB_ARCHIVE_AREAS}" != "main" ]
then
# Modify archive areas to remove leading/trailing whitespaces and replace other whitepspace with commas
- DEBOOTSTRAP_OPTIONS="${DEBOOTSTRAP_OPTIONS} --components $(echo ${LB_ARCHIVE_AREAS} | sed -e 's| |,|g')"
+ DEBOOTSTRAP_OPTIONS="${DEBOOTSTRAP_OPTIONS} --components=$(echo ${LB_ARCHIVE_AREAS} | sed -e 's| |,|g')"
fi
if [ -n "${LB_BOOTSTRAP_CONFIG}" ]