diff options
author | Maciej Żenczykowski <maze@google.com> | 2019-03-22 17:36:27 -0700 |
---|---|---|
committer | Maciej Żenczykowski <maze@google.com> | 2019-03-22 17:42:43 -0700 |
commit | bc960f3d0f4fee779a21edc59d800a994acc458a (patch) | |
tree | 36794be535c0fec1bb19aab13a24c0952d156ee6 | |
parent | ccad07c91ffa8affd9a696c62cf5835ba4c48bb8 (diff) | |
download | tests-bc960f3d0f4fee779a21edc59d800a994acc458a.tar.gz |
net-test: build_rootfs.sh - fix post debian wheezy move to archive
Bug: 126465735
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: I8ebb926ab6ce8f09baeec65861a23c8c4a59acff
-rwxr-xr-x | net/test/build_rootfs.sh | 5 |
1 files changed, 4 insertions, 1 deletions
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 @@ while getopts ":hs:a:m:n:" opt; do 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 |