Workarounding symlink on usb-hdd when including debian-installer and using vfat filesystems.
This commit is contained in:
parent
c43c932602
commit
4ab3d144d9
|
@ -626,17 +626,22 @@ EOF
|
||||||
rm -f chroot/binary.sh
|
rm -f chroot/binary.sh
|
||||||
mv chroot/root/binary ./
|
mv chroot/root/binary ./
|
||||||
|
|
||||||
# Creating dist symlinks
|
case "${LB_BINARY_FILESYSTEM}" in
|
||||||
for DISTRIBUTION in frozen stable testing unstable ${LB_DISTRIBUTION}
|
vat*)
|
||||||
do
|
# Creating dist directories
|
||||||
ln -s ${LB_DEBIAN_INSTALLER_DISTRIBUTION} binary/dists/${DISTRIBUTION}
|
for DISTRIBUTION in frozen stable testing unstable ${LB_DISTRIBUTION}
|
||||||
done
|
do
|
||||||
|
cp -a ${LB_DEBIAN_INSTALLER_DISTRIBUTION} binary/dists/${DISTRIBUTION}
|
||||||
case "${LB_BINARY_IMAGES}" in
|
done
|
||||||
usb*)
|
|
||||||
;;
|
;;
|
||||||
|
|
||||||
*)
|
*)
|
||||||
|
# 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
|
ln -s . binary/debian
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
Loading…
Reference in New Issue