Workarounding symlink on usb-hdd when including debian-installer and using vfat filesystems.

This commit is contained in:
Daniel Baumann 2010-11-02 11:41:51 +01:00
parent 4b9064678c
commit 542bf033b4
1 changed files with 13 additions and 8 deletions

View File

@ -617,17 +617,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