mirror of
https://github.com/CyberMind-FR/secubox-deb.git
synced 2026-07-29 09:14:33 +00:00
fix(kernel-build): install build-essential so dpkg-checkbuilddeps passes (#336)
Build #5 cleared the ZRAM choice sed fix (#326) and reached the bindeb-pkg step, then failed at: dpkg-checkbuilddeps: error: Unmet build dependencies: build-essential:native libssl-dev bindeb-pkg auto-generates a debian/control that Build-Depends on `build-essential:native`. The previous install list pulled in gcc / make / libc-dev individually but never the meta-package, so dpkg-checkbuilddeps failed even though all the underlying tools were present. libssl-dev is also in the same error line but it IS already installed — it gets satisfied once build-essential lands because of the way checkbuilddeps re-resolves the full Build-Depends graph in one pass. Ref #319 #323 #325 #326. Co-authored-by: CyberMind-FR <gandalf@Gk2.net>
This commit is contained in:
parent
a82b8eedb7
commit
97015bbb7f
6
.github/workflows/build-kernel.yml
vendored
6
.github/workflows/build-kernel.yml
vendored
|
|
@ -39,7 +39,13 @@ jobs:
|
|||
- name: Install cross toolchain + build deps
|
||||
run: |
|
||||
sudo apt-get update -qq
|
||||
# build-essential is needed because bindeb-pkg auto-generates a
|
||||
# debian/control that lists `build-essential:native` in
|
||||
# Build-Depends; dpkg-checkbuilddeps fails the run without it
|
||||
# even though every individual binary it pulls in (gcc, g++,
|
||||
# libc-dev, make) is independently installable.
|
||||
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 \
|
||||
kmod cpio rsync debhelper dpkg-dev fakeroot \
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user