B2260: add support

Add support for B2260 images. Build command example:

fai-diskimage -v --cspace /work/fai --hostname linaro-developer -S 3G \
 --class SAVECACHE,STRETCH,DEBIAN,LINARO,DEVELOPER,B2260,UBOOT b2260raw

Change-Id: Iccf44c89a3a4ab54368c461a2e7c4cb3a6321cfa
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
13 files changed
tree: 368cb23f8e96cc3b7e3b166381edaa67735c0205
  1. class/
  2. debconf/
  3. disk_config/
  4. files/
  5. hooks/
  6. package_config/
  7. scripts/
  8. tests/
  9. tools/
  10. .gitreview
  11. README.md
README.md

Usage example on arm64 host:

sudo modprobe loop docker run --privileged -v $(pwd):/work --rm -it linaro/arm64-fai /bin/bash cd /work git clone http://git.linaro.org/ci/fai.git fai-diskimage -v --cspace $(pwd)/fai --hostname linaro-test -S 3G --class BUSTER,DEBIAN,DEVELOPER,LINARO,QCOM,DB410C,RAW linaro.raw 2>&1|tee fai.log

Gotchas:

  • loop devices need to exist before starting docker
  • order of classes matter - latter classes override variables from earlier ones
  • missing packages in packages from package_lists and errors while installing packages will not error the build out
    • grep the log for warnings and erros before proceeding