diff options
author | Daniel Baumann <daniel@debian.org> | 2010-11-29 23:04:05 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:17:29 +0100 |
commit | 819f3d7e43ade200c8b3a0cb0b198246cd59c62b (patch) | |
tree | c7a84fdf2ec0f35eb2deb57bca0ef94cd722a6b1 | |
parent | c5ed3375b5528ddf3811154fadb13fbe074cd6d6 (diff) | |
download | vyos-live-build-819f3d7e43ade200c8b3a0cb0b198246cd59c62b.tar.gz vyos-live-build-819f3d7e43ade200c8b3a0cb0b198246cd59c62b.zip |
Applying slightly modified patch from Michael Hudson <michael.hudson@canonical.com> to make arguments in debootstrap calls more robust.
-rwxr-xr-x | scripts/build/lb_bootstrap_debootstrap | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/build/lb_bootstrap_debootstrap b/scripts/build/lb_bootstrap_debootstrap index 2e68a0e48..7f5dbe623 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}" ] |