From f7942a2b999c42bf9f3d7b095924bde109c66926 Mon Sep 17 00:00:00 2001 From: Robert Nelson Date: Sat, 8 Jan 2011 16:18:36 -0600 Subject: [PATCH] specify which debian squeeze image Signed-off-by: Robert Nelson --- mk_mmc.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/mk_mmc.sh b/mk_mmc.sh index f3fc95f..46845a8 100755 --- a/mk_mmc.sh +++ b/mk_mmc.sh @@ -30,6 +30,9 @@ unset BETA BOOT_LABEL=boot PARTITION_PREFIX="" +#SQUEEZE_NETIMAGE="current" +SQUEEZE_NETIMAGE="20110106" + DIR=$PWD TEMPDIR=$(mktemp -d) @@ -118,8 +121,8 @@ case "$DIST" in wget --directory-prefix=${TEMPDIR}/dl/${DIST} http://ports.ubuntu.com/ubuntu-ports/dists/${DIST}/main/installer-armel/current/images/versatile/netboot/initrd.gz ;; squeeze) - wget --directory-prefix=${TEMPDIR}/dl/${DIST} http://ftp.debian.org/debian/dists/${DIST}/main/installer-armel/current/images/versatile/netboot/initrd.gz - #wget -c --directory-prefix=${DIR}/dl/${DIST} http://ftp.debian.org/debian/dists/${DIST}/main/installer-armel/current/images/versatile/netboot/initrd.gz + wget --directory-prefix=${TEMPDIR}/dl/${DIST} http://ftp.debian.org/debian/dists/${DIST}/main/installer-armel/${SQUEEZE_NETIMAGE}/images/versatile/netboot/initrd.gz + #wget -c --directory-prefix=${DIR}/dl/${DIST} http://ftp.debian.org/debian/dists/${DIST}/main/installer-armel/${SQUEEZE_NETIMAGE}/images/versatile/netboot/initrd.gz ;; esac