net-test: build_rootfs.sh - fix post debian wheezy move to archive am: bc960f3d0f
am: b5779ea931
Change-Id: I2e81562befe707ddad1afc5f9477c9f2958eec61
diff --git a/net/test/build_rootfs.sh b/net/test/build_rootfs.sh
index 11fe841..887e746 100755
--- a/net/test/build_rootfs.sh
+++ b/net/test/build_rootfs.sh
@@ -40,7 +40,10 @@
echo "Invalid suite: $OPTARG" >&2
usage
fi
- suite=$OPTARG
+ suite="${OPTARG}"
+ if [[ "${suite}" == wheezy ]]; then
+ mirror=http://archive.debian.org/debian
+ fi
;;
a)
if [ "$OPTARG" != "amd64" -a "$OPTARG" != "arm64" ]; then