aboutsummaryrefslogtreecommitdiff
path: root/utopic-amd64-art
diff options
context:
space:
mode:
authorFathi Boudra <fathi.boudra@linaro.org>2017-05-06 21:42:03 +0300
committerFathi Boudra <fathi.boudra@linaro.org>2017-05-06 21:42:03 +0300
commitdbbb4aac0ed7c44e8a03e1e08c3cfb225a141e19 (patch)
tree25d0a79c5d2eb6c4ba45f15d7836f9b57c1c9c9f /utopic-amd64-art
parent72d8f5f78a870d93665b4fb3bbe50a215ded810d (diff)
{jessie,stretch,trusty,utopic,xenial}-{amd64,arm64,armhf}: fix build scripts
* docker COPY doesn't follow symlinks (it returns a lstat error) Restore stretch build scripts to copy thee files as before. * Move OBS sources list and key files next to the others. * Remove all the PPA fixup and copy explicitely sources list and keys we want. * Fix the image/tag name jessie-amd64, xenial-adm64 and a few others. Change-Id: I6613c5abc2bba8cbb05a65e0bf0dc17d4082cc1a Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Diffstat (limited to 'utopic-amd64-art')
-rwxr-xr-xutopic-amd64-art/build.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/utopic-amd64-art/build.sh b/utopic-amd64-art/build.sh
index ce90ce78..c4f6cc75 100755
--- a/utopic-amd64-art/build.sh
+++ b/utopic-amd64-art/build.sh
@@ -11,8 +11,11 @@ cleanup_exit()
export LANG=C
+DISTRIBUTION=$(basename ${PWD} | cut -f1 -d '-')
+ARCHITECTURE=$(basename ${PWD} | cut -f2 -d '-')
+
cp -a ../setup-sshd .
-image=linaro/$(basename ${PWD})
+image=linaro/ci-${ARCHITECTURE}-art-ubuntu:${DISTRIBUTION}
docker build --pull --tag=$image .
echo $image > .docker-tag