package_config/LINARO: Install python3-{pexpect, yaml} instead of python2

Python2 is EOF and this packages was installed to be able use
test-runner and is already migrated to python3.

https://github.com/Linaro/test-definitions/commit/dc338f66b5f34c911e94f92cadafefcbe2b75a2c

Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
Change-Id: I2ebfc2b5657ee95d4d32a892539512d671b351c2
1 file changed
tree: e902ef3ff589b7951b8eae753ead0576dd53077e
  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