From 8b378a905eaf198d45c95c8a1ec394da82ba8a8d Mon Sep 17 00:00:00 2001 From: Robert Nelson Date: Fri, 28 Feb 2020 14:00:54 -0600 Subject: [PATCH] mk_mmc.sh: drop actually_dl_netinstall function Signed-off-by: Robert Nelson --- mk_mmc.sh | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/mk_mmc.sh b/mk_mmc.sh index 6c42d5a..a8319e3 100755 --- a/mk_mmc.sh +++ b/mk_mmc.sh @@ -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 () {