From 852a798d9dc317a713fc9c03e5ab492befb62471 Mon Sep 17 00:00:00 2001 From: Jan-Simon Möller Date: Wed, 24 Apr 2019 16:51:14 +0200 Subject: Add repo tool MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I1766a6fe269cf64c379d2e1f8241325e18301b1a Signed-off-by: Jan-Simon Möller --- packer/provision/agl_mirror.sh | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'packer/provision/agl_mirror.sh') diff --git a/packer/provision/agl_mirror.sh b/packer/provision/agl_mirror.sh index 9bfc264e..ea739051 100644 --- a/packer/provision/agl_mirror.sh +++ b/packer/provision/agl_mirror.sh @@ -2,6 +2,12 @@ set -x +mkdir -p ~/bin || true +PATH=~/bin:$PATH + +curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo +chmod a+x ~/bin/repo + # Preclone the gerrit repos for speed (use with --reference=/opt/AGL/preclone) mkdir -p /opt/AGL/preclone cd /opt/AGL/preclone -- cgit 1.2.3-korg