mk_mmc.sh: cleanup BASE_IMAGE=netboot

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
master
Robert Nelson 5 years ago
parent 457f184ba1
commit 07adf8943d

@ -275,7 +275,7 @@ dl_kernel_image () {
}
actually_dl_netinstall () {
${dl} --directory-prefix="${DIR}/dl/${DISTARCH}" "http://ftp.debian.org/debian/dists/${DIST}/main/installer-${ARCH}/current/images/${BASE_IMAGE}/initrd.gz"
${dl} --directory-prefix="${DIR}/dl/${DISTARCH}" "http://ftp.debian.org/debian/dists/${DIST}/main/installer-${ARCH}/current/images/netboot/initrd.gz"
MD5SUM=$(md5sum "${DIR}/dl/${DISTARCH}/initrd.gz" | awk '{print $1}')
}
@ -284,11 +284,6 @@ dl_netinstall_image () {
echo "Downloading NetInstall Image"
echo "-----------------------------"
##FIXME: "network-console" support...
debian_boot="netboot"
BASE_IMAGE="netboot"
if [ -f "${DIR}/dl/${DISTARCH}/initrd.gz" ] ; then
rm -f "${DIR}/dl/${DISTARCH}/initrd.gz" || true
actually_dl_netinstall

Loading…
Cancel
Save