Repository: bigtop Updated Branches: refs/heads/master adfb877e7 -> e9a4cc75d
BIGTOP-2856: Add HOSTTYPE variable in detect_repo Add a HOSTTYPE variable in detect_repo() to make it generalize across x86, AArch64..etc architecture. Signed-off-by: Naresh Bhat <naresh.b...@linaro.org> Signed-off-by: Evans Ye <evan...@apache.org> Project: http://git-wip-us.apache.org/repos/asf/bigtop/repo Commit: http://git-wip-us.apache.org/repos/asf/bigtop/commit/e9a4cc75 Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/e9a4cc75 Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/e9a4cc75 Branch: refs/heads/master Commit: e9a4cc75d1132dd687d184730a1a0d99419ab6a2 Parents: adfb877 Author: Naresh Bhat <naresh.b...@linaro.org> Authored: Sun Jul 23 23:46:16 2017 +0530 Committer: Evans Ye <evan...@apache.org> Committed: Wed Aug 9 14:39:57 2017 +0800 ---------------------------------------------------------------------- docker/sandbox/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/bigtop/blob/e9a4cc75/docker/sandbox/build.sh ---------------------------------------------------------------------- diff --git a/docker/sandbox/build.sh b/docker/sandbox/build.sh index 8910f93..c8afdcb 100755 --- a/docker/sandbox/build.sh +++ b/docker/sandbox/build.sh @@ -65,7 +65,7 @@ generate_tag() { detect_repo() { OS_SEP_BY_SLASH=${OS/-//} - REPO=${REPO:-"http://bigtop-repos.s3.amazonaws.com/releases/${BIGTOP_VERSION}/${OS_SEP_BY_SLASH}/x86_64"} + REPO=${REPO:-"http://bigtop-repos.s3.amazonaws.com/releases/${BIGTOP_VERSION}/${OS_SEP_BY_SLASH}/$HOSTTYPE"} } image_config_validator() {