build-arm64.yml: initramfs without kmod-v4l2loopback
All checks were successful
Build Aurora / build (push) Successful in 7m46s

Run 22 got through every package install and stopped in 19-initramfs.sh,
which asks rpm for kmod-v4l2loopback's files; the arm64 stand-in akmods
has no kmods. dracut --remove none builds fine (checked on Fedora 44).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Philip Peterson 2026-11-03 19:51:36 -09:00
parent 414bb548b2
commit 0abe38650d

View file

@ -61,13 +61,18 @@ jobs:
$files
git update-index --skip-worktree $files
- name: Drop x86-only packages
# Fedora builds these for x86_64 only, and upstream lists them for
# every arch. Checked against Fedora 44 + negativo17's aarch64 repos
# (2026-11-04): just intel-compute-runtime.
- name: Adapt the build scripts to arm64
# 01-packages.sh: drop what Fedora builds for x86_64 only. Checked
# against Fedora 44 + negativo17's aarch64 repos (2026-11-04): just
# intel-compute-runtime.
# 19-initramfs.sh: it asks rpm for kmod-v4l2loopback's files, which
# fails without the package, and the stand-in akmods has no kmods.
# "none" keeps dracut's --remove argument in place, naming no module.
run: |
sed -i -E '/^[[:space:]]*intel-compute-runtime[[:space:]]*$/d' build_scripts/base/01-packages.sh
git update-index --skip-worktree build_scripts/base/01-packages.sh
sed -i 's|^V4L2_PATH="$(rpm -ql kmod-v4l2loopback)"$|V4L2_PATH="$(rpm -q --quiet kmod-v4l2loopback \&\& rpm -ql kmod-v4l2loopback \|\| echo none)"|' build_scripts/base/19-initramfs.sh
grep -q 'echo none' build_scripts/base/19-initramfs.sh
git update-index --skip-worktree build_scripts/base/01-packages.sh build_scripts/base/19-initramfs.sh
- name: Log in to the registry
env: