aboutsummaryrefslogtreecommitdiff
path: root/jessie-arm64
diff options
context:
space:
mode:
authorFathi Boudra <fathi.boudra@linaro.org>2016-05-20 09:55:01 +0300
committerFathi Boudra <fathi.boudra@linaro.org>2016-05-20 09:55:01 +0300
commit2fee3a668f2b4e20da474bfb8879564a9a1af347 (patch)
tree22b5ef2a4c345e43b7b1a9cb345e5eab4e0b70ee /jessie-arm64
parent57c3313c5a7003bea988825d0bdc4b5219db7981 (diff)
jessie: replace @DISTRIBUTION@ tag
While Linaro Overlay repository is added, the tag isn't updated to use the proper distribution. Fix it by replacing the tag as we do on Ubuntu images (using sed). Change-Id: I8ed18aa2feebec59f99bd838e3d1f4047b2f3dda Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Diffstat (limited to 'jessie-arm64')
-rwxr-xr-xjessie-arm64/build.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/jessie-arm64/build.sh b/jessie-arm64/build.sh
index 57899cf8..c5e3bcc6 100755
--- a/jessie-arm64/build.sh
+++ b/jessie-arm64/build.sh
@@ -6,7 +6,7 @@ trap cleanup_exit INT TERM EXIT
cleanup_exit()
{
- rm -f linaro.list linarorepo.key
+ rm -f *.list *.key
}
export LANG=C
@@ -14,6 +14,7 @@ export LANG=C
DISTRIBUTION=$(basename ${PWD} | cut -f1 -d '-')
cp -a ../${DISTRIBUTION}.list linaro.list
-cp -a ../linaro-overlay-repo.key linarorepo.key
+cp -a ../linaro-*.list ../linaro-*.key .
+sed -e "s|@DISTRIBUTION@|${DISTRIBUTION}|" -i *.list
docker build --tag=linaro/$(basename ${PWD}) .