summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2010-11-02 11:37:50 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:17:28 +0100
commit4ab3d144d919464a77ee18b408d7f70546ac6399 (patch)
treed782b2e35ce4b67dbbb32332d1078519fe3418ee
parentc43c932602442fc3ca4046ffd512e93d25f57131 (diff)
downloadlive-build-4ab3d144d919464a77ee18b408d7f70546ac6399.zip
live-build-4ab3d144d919464a77ee18b408d7f70546ac6399.tar.gz
Workarounding symlink on usb-hdd when including debian-installer and using vfat filesystems.
-rwxr-xr-xscripts/build/lb_binary_debian-installer21
1 files changed, 13 insertions, 8 deletions
diff --git a/scripts/build/lb_binary_debian-installer b/scripts/build/lb_binary_debian-installer
index 1911c6e..f9a1843 100755
--- a/scripts/build/lb_binary_debian-installer
+++ b/scripts/build/lb_binary_debian-installer
@@ -626,17 +626,22 @@ EOF
rm -f chroot/binary.sh
mv chroot/root/binary ./
- # Creating dist symlinks
- for DISTRIBUTION in frozen stable testing unstable ${LB_DISTRIBUTION}
- do
- ln -s ${LB_DEBIAN_INSTALLER_DISTRIBUTION} binary/dists/${DISTRIBUTION}
- done
-
- case "${LB_BINARY_IMAGES}" in
- usb*)
+ case "${LB_BINARY_FILESYSTEM}" in
+ vat*)
+ # Creating dist directories
+ for DISTRIBUTION in frozen stable testing unstable ${LB_DISTRIBUTION}
+ do
+ cp -a ${LB_DEBIAN_INSTALLER_DISTRIBUTION} binary/dists/${DISTRIBUTION}
+ done
;;
*)
+ # Creating dist symlinks
+ for DISTRIBUTION in frozen stable testing unstable ${LB_DISTRIBUTION}
+ do
+ ln -s ${LB_DEBIAN_INSTALLER_DISTRIBUTION} binary/dists/${DISTRIBUTION}
+ done
+
ln -s . binary/debian
;;
esac