mirror of
https://github.com/CyberMind-FR/secubox-deb.git
synced 2026-07-29 09:14:33 +00:00
fix(ci): enable arm64 multi-arch + install libssl-dev:arm64 in build-kernel.yml
dpkg-buildpackage -aarm64 (cross-build) resolves Build-Depends to the target arch. The kernel package's debian/control declares `Build-Depends: libssl-dev` without arch suffix, so dpkg-checkbuilddeps looks for libssl-dev:arm64 and fails when only libssl-dev (amd64) is installed. Add `dpkg --add-architecture arm64` before `apt-get update` so the arm64 package index is available, then install libssl-dev:arm64 alongside the host libssl-dev. This is a pre-existing CI gap, exposed by run 26816056566. Unrelated to the secubox-mesh fragment (signed-regdb was a red herring).
This commit is contained in:
parent
78a1bfbde7
commit
e17f757931
8
.github/workflows/build-kernel.yml
vendored
8
.github/workflows/build-kernel.yml
vendored
|
|
@ -38,6 +38,12 @@ jobs:
|
|||
|
||||
- name: Install cross toolchain + build deps
|
||||
run: |
|
||||
# Enable arm64 multi-arch BEFORE apt-get update so the index
|
||||
# ships both amd64 and arm64 metadata. bindeb-pkg's auto-generated
|
||||
# debian/control declares `Build-Depends: libssl-dev` which under
|
||||
# dpkg-buildpackage -aarm64 resolves to libssl-dev:arm64 — the
|
||||
# host's amd64 libssl-dev alone fails dpkg-checkbuilddeps.
|
||||
sudo dpkg --add-architecture arm64
|
||||
sudo apt-get update -qq
|
||||
# build-essential is needed because bindeb-pkg auto-generates a
|
||||
# debian/control that lists `build-essential:native` in
|
||||
|
|
@ -47,7 +53,7 @@ jobs:
|
|||
sudo apt-get install -y --no-install-recommends \
|
||||
build-essential \
|
||||
gcc-aarch64-linux-gnu make bc flex bison \
|
||||
libssl-dev libelf-dev wget xz-utils \
|
||||
libssl-dev libssl-dev:arm64 libelf-dev wget xz-utils \
|
||||
kmod cpio rsync debhelper dpkg-dev fakeroot \
|
||||
python3 git
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user