diff options
author | Maciej enczykowski <maze@google.com> | 2019-03-24 18:34:34 -0700 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2019-03-24 18:34:34 -0700 |
commit | ede9fe32214001f515171b74cec8081a2b75154a (patch) | |
tree | 12701e12bdc5eb29f3ccf1bef8a4358d51e9eee4 | |
parent | 2e804885d5502beab537901bfc2b2aeb062840b4 (diff) | |
parent | 9d0f5a9c55a660b631c73206db87a14df54f962b (diff) | |
download | tests-ede9fe32214001f515171b74cec8081a2b75154a.tar.gz |
net_test: introduce build_all_rootfs.sh am: de51b09901
am: 9d0f5a9c55
Change-Id: I5aa450930cfb356d020029b57f3afeb50c6a33d5
-rwxr-xr-x | net/test/build_all_rootfs.sh | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/net/test/build_all_rootfs.sh b/net/test/build_all_rootfs.sh new file mode 100755 index 0000000..98a4918 --- /dev/null +++ b/net/test/build_all_rootfs.sh @@ -0,0 +1,30 @@ +#!/bin/bash +# +# Copyright (C) 2019 The Android Open Source Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +set -e + +for s in wheezy stretch; do + for a in i386 amd64 armhf arm64; do + + # Debian wheezy does not support arm64 architecture + [[ "${s}-${a}" != "wheezy-arm64" ]] || continue + + ./build_rootfs.sh -s "${s}" -a "${a}" + done +done + +echo 'All rootfs builds completed.' |