summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej enczykowski <maze@google.com>2019-03-24 18:39:18 -0700
committerandroid-build-merger <android-build-merger@google.com>2019-03-24 18:39:18 -0700
commit88f1f0970acba76d8848906f3e2f538bb77eedc7 (patch)
tree12701e12bdc5eb29f3ccf1bef8a4358d51e9eee4
parent33e305cf72f4cd9c4dacb8654f1dc6289ebe456b (diff)
parentede9fe32214001f515171b74cec8081a2b75154a (diff)
downloadtests-88f1f0970acba76d8848906f3e2f538bb77eedc7.tar.gz
net_test: introduce build_all_rootfs.sh am: de51b09901 am: 9d0f5a9c55
am: ede9fe3221 Change-Id: Ib28a03017157b18877bafce6373e065c77596c12
-rwxr-xr-xnet/test/build_all_rootfs.sh30
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.'