package_config/QCOM: move common packages to QCOM class

Adding firmware packages to the RB5 board would require adding the
firmware-atheros and firmware-qcom-soc to the RB5 class. Instead to
remove unnecessary duplication move firmware-atheros, firmware-qcom-soc
and linux-image-5.10.0-qcomlt-arm64 packages to common QCOM class.
As a side effect the DB410C images will gain firmware-atheros package,
but that will not change image size.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Change-Id: Idd9c0e0a7910a4925ba0373f00db6a528e4bfe30
1 file changed
tree: 3d45ed81299b584387c59b85ff878081695d9326
  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