From 3e1a846ce4bebe8610a0e87204953be8168c9caa Mon Sep 17 00:00:00 2001 From: Riku Voipio Date: Fri, 8 Dec 2017 15:43:26 +0200 Subject: 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 --- stretch-arm64-fai/build.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 stretch-arm64-fai/build.sh (limited to 'stretch-arm64-fai/build.sh') 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 -- cgit v1.2.3