Skip to content

Instantly share code, notes, and snippets.

@RobertCNelson
Created November 13, 2012 16:28
Show Gist options
  • Save RobertCNelson/4066767 to your computer and use it in GitHub Desktop.
Save RobertCNelson/4066767 to your computer and use it in GitHub Desktop.
diff --git a/mk_mmc.sh b/mk_mmc.sh
index 9447ac4..fb65e6a 100755
--- a/mk_mmc.sh
+++ b/mk_mmc.sh
@@ -416,7 +416,11 @@ function dl_netinstall_image {
NETINSTALL="initrd.gz"
;;
wheezy-armhf)
- TEST_MD5SUM="${WHEEZY_ARMHF_MD5SUM}_${BOOT//-/_}"
+ if [ "x${BOOT}" != "xnetboot" ] ; then
+ TEST_MD5SUM=${WHEEZY_ARMHF_MD5SUM_netboot}
+ else
+ TEST_MD5SUM=${WHEEZY_ARMHF_MD5SUM_network_console}
+ fi
NETIMAGE="${WHEEZY_ARMHF_NETIMAGE}"
HTTP_IMAGE="http://ftp.debian.org/debian/dists"
BASE_IMAGE="mx5/${BOOT}/efikamx"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment