mk_mmc.sh: drop actually_dl_netinstall function

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
master
Robert Nelson 5 years ago
parent 81fb88c321
commit 8b378a905e

@ -274,11 +274,6 @@ dl_kernel_image () {
echo "Using Kernel: ${ACTUAL_DEB_FILE}"
}
actually_dl_netinstall () {
${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}')
}
dl_netinstall_image () {
echo ""
echo "Downloading NetInstall Image"
@ -287,9 +282,7 @@ dl_netinstall_image () {
if [ -f "${DIR}/dl/${DISTARCH}/initrd.gz" ] ; then
rm -f "${DIR}/dl/${DISTARCH}/initrd.gz" || true
fi
actually_dl_netinstall
echo "md5sum of NetInstall: ${MD5SUM}"
${dl} --directory-prefix="${DIR}/dl/${DISTARCH}" "http://ftp.debian.org/debian/dists/${DIST}/main/installer-${ARCH}/current/images/netboot/initrd.gz"
}
boot_uenv_txt_template () {

Loading…
Cancel
Save