TT#5444 Enable support for bootstrapping stretch with older debootstrap versions

Change-Id: Ib78df8b57bed6a5d744d97121067e56b9cd2cd7d
changes/09/9409/3
Alexander Lutay 9 years ago
parent f10ee99603
commit 9cd97dbf88

@ -1329,6 +1329,11 @@ if [ "$DISK" = "vda" ] ; then
esac
fi
if [ "$DEBIAN_RELEASE" = "stretch" ] && [ ! -r /usr/share/debootstrap/scripts/stretch ] ; then
echo "Enabling stretch support for debootstrap via symlink to sid"
ln -s /usr/share/debootstrap/scripts/sid /usr/share/debootstrap/scripts/stretch
fi
# install Debian
echo y | grml-debootstrap \
--arch "${ARCH}" \

Loading…
Cancel
Save