commit | d811d0aa08cb2ec62ef8cd16bc18e7f4b88b5b99 | [log] [tgz] |
---|---|---|
author | Nicolas Dechesne <nicolas.dechesne@linaro.org> | Fri Sep 23 13:49:51 2022 +0200 |
committer | Nicolas Dechesne <nicolas.dechesne@linaro.org> | Wed Sep 28 23:09:39 2022 +0200 |
tree | 13dec3b5224a92ae699351a3c2ad1fca669523da | |
parent | 3b72edef387d6d1a0737e1bea97093f4e2195331 [diff] |
QCOM: do not assume we know the kernel version So far, this script assumes we know the kernel version installed. Let's assume we don't, so we use -k all for the generation of the initramfs, which will create the initramfs for all installed versions. We might install one or more kernel versions, so it makes sense to generate all corresponding initramfs. Most of the time there will be just one anyways. We also need to ensure we will copy to $OUT all versions if needed. Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Change-Id: I286b526fa6d09b96b8a4de1a67b0822abd55bb5f
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: