diff options
author | Riku Voipio <riku.voipio@linaro.org> | 2017-12-08 15:43:26 +0200 |
---|---|---|
committer | Riku Voipio <riku.voipio@linaro.org> | 2017-12-08 15:46:10 +0200 |
commit | 3e1a846ce4bebe8610a0e87204953be8168c9caa (patch) | |
tree | b11dd48e5c0806341acc79a8951bf0705ae7dcd4 /stretch-arm64-fai/build.sh | |
parent | 02c35e1d11d2cddf309743ef64aba9daad9fe427 (diff) |
stretch-arm64-fai: new image
Bundle fai and it's dependencies into one image. This intended for 3rd
party users who don't use Debian 9.0 as their host system.
Usage:
sudo modprobe loop
docker run --privileged -v $(pwd):/work --rm -it linaro/arm64-fai /bin/bash
git clone https://git.linaro.org/ci/fai.git
fai-diskimage -v --cspace /work/fai --hostname linaro-test -S 3G --class BUSTER,DEBIAN,LINARO,QCOM,DB820C,RAW linaro.raw
Change-Id: I3e0c61b8d08ac926ab7832f7d0ad6cbfc7b42d91
Diffstat (limited to 'stretch-arm64-fai/build.sh')
-rwxr-xr-x | stretch-arm64-fai/build.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/stretch-arm64-fai/build.sh b/stretch-arm64-fai/build.sh new file mode 100755 index 00000000..f1c5bc81 --- /dev/null +++ b/stretch-arm64-fai/build.sh @@ -0,0 +1,13 @@ +#!/bin/sh + +set -e + +export LANG=C + +DISTRIBUTION=$(basename ${PWD} | cut -f1 -d '-') +ARCHITECTURE=$(basename ${PWD} | cut -f2 -d '-') +cp -a ../linaro-overlay-obs.list ../linaro-overlay-obs.key . + +image=linaro/${ARCHITECTURE}-fai +docker build --pull --tag=$image . +echo $image > .docker-tag |