Clone this repo:

Branches

  1. 5f6541e QCOM: switch to pd-mapper and qrtr from the main archive by Dmitry Baryshkov · 2 years, 5 months ago master
  2. f1db69e scripts/QCOM/21-customize: remove tsched=0 workaround by Nicolas Dechesne · 2 years, 6 months ago
  3. a3db23a sources.list: include the new non-free-firmware component by Dmitry Baryshkov · 2 years, 6 months ago
  4. ce1682f LINARO/01-setup_user_linaro: fix linaro's shell by Dmitry Baryshkov · 2 years, 6 months ago
  5. dfca7f8 package_config/QCOM: switch to Linux 6.1 by Nicolas Dechesne · 2 years, 6 months ago

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