Making d-i indices copying depending on binary image type.
This commit is contained in:
parent
868353f0b3
commit
3250e18855
|
@ -617,18 +617,29 @@ EOF
|
||||||
rm -f chroot/binary.sh
|
rm -f chroot/binary.sh
|
||||||
mv chroot/root/binary ./
|
mv chroot/root/binary ./
|
||||||
|
|
||||||
case "${LB_BINARY_FILESYSTEM}" in
|
DISTRIBUTIONS="frozen stable testing unstable"
|
||||||
fat*)
|
|
||||||
# Creating dist directories
|
if [ "${LB_DEBIAN_INSTALLER_DISTRIBUTION}" != "${LB_DISTRIBUTION}" ]
|
||||||
for DISTRIBUTION in frozen stable testing unstable ${LB_DISTRIBUTION}
|
then
|
||||||
do
|
DISTRIBUTIONS="${DISTRIBUTIONS} ${LB_DISTRIBUTION}"
|
||||||
cp -a ${LB_DEBIAN_INSTALLER_DISTRIBUTION} binary/dists/${DISTRIBUTION}
|
fi
|
||||||
done
|
|
||||||
|
case "${LB_BINARY_IMAGES}" in
|
||||||
|
usb-hdd)
|
||||||
|
case "${LB_BINARY_FILESYSTEM}" in
|
||||||
|
fat*)
|
||||||
|
# Creating dist directories
|
||||||
|
for DISTRIBUTION in ${DISTRIBUTIONS}
|
||||||
|
do
|
||||||
|
cp -a binary/dists/${LB_DEBIAN_INSTALLER_DISTRIBUTION} binary/dists/${DISTRIBUTION}
|
||||||
|
done
|
||||||
|
;;
|
||||||
|
esac
|
||||||
;;
|
;;
|
||||||
|
|
||||||
*)
|
*)
|
||||||
# Creating dist symlinks
|
# Creating dist symlinks
|
||||||
for DISTRIBUTION in frozen stable testing unstable ${LB_DISTRIBUTION}
|
for DISTRIBUTION in ${DISTRIBUTIONS}
|
||||||
do
|
do
|
||||||
ln -s ${LB_DEBIAN_INSTALLER_DISTRIBUTION} binary/dists/${DISTRIBUTION}
|
ln -s ${LB_DEBIAN_INSTALLER_DISTRIBUTION} binary/dists/${DISTRIBUTION}
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in New Issue