diff options
author | Fathi Boudra <fathi.boudra@linaro.org> | 2017-05-06 21:42:03 +0300 |
---|---|---|
committer | Fathi Boudra <fathi.boudra@linaro.org> | 2017-05-06 21:42:03 +0300 |
commit | dbbb4aac0ed7c44e8a03e1e08c3cfb225a141e19 (patch) | |
tree | 25d0a79c5d2eb6c4ba45f15d7836f9b57c1c9c9f /xenial-amd64 | |
parent | 72d8f5f78a870d93665b4fb3bbe50a215ded810d (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 'xenial-amd64')
-rwxr-xr-x | xenial-amd64/build.sh | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/xenial-amd64/build.sh b/xenial-amd64/build.sh index 52715e16..1203ab3b 100755 --- a/xenial-amd64/build.sh +++ b/xenial-amd64/build.sh @@ -14,12 +14,9 @@ export LANG=C DISTRIBUTION=$(basename ${PWD} | cut -f1 -d '-') ARCHITECTURE=$(basename ${PWD} | cut -f2 -d '-') -cp -a ../linaro-*.list ../linaro-*.key . +cp -a ../linaro-overlay-repo.list ../linaro-overlay-repo.key . sed -e "s|@DISTRIBUTION@|${DISTRIBUTION}|" -i *.list -# fixup - get rid of PPA usage -rm -f linaro-*ppa.* - image=linaro/ci-${ARCHITECTURE}-ubuntu:${DISTRIBUTION} docker build --pull --tag=$image . echo $image > .docker-tag |