mirror of
https://github.com/CyberMind-FR/secubox-deb.git
synced 2026-07-29 09:14:33 +00:00
fix(sentinelle-gsm): skip dh_shlibdeps on prebuilt secubox-redsea (closes #425)
bin/secubox-redsea is a pre-built aarch64 ELF; on the amd64 CI runner, dh_shlibdeps can't resolve its arm64 .so deps → build fails → APT publish gated since v2.13.0. Depends are already declared explicitly in debian/control, so dh_shlibdeps -Xsecubox-redsea is safe and unblocks the release pipeline. Locally verified: dpkg-buildpackage -a arm64 produces the .deb cleanly.
This commit is contained in:
parent
773d702c7d
commit
67a3ba232e
|
|
@ -2,6 +2,17 @@
|
|||
%:
|
||||
dh $@
|
||||
|
||||
# bin/secubox-redsea is a pre-built aarch64 ELF shipped under
|
||||
# /usr/libexec/secubox/. dh_shlibdeps tries to resolve its .so deps
|
||||
# (libliquid, libsndfile, libstdc++, libm, libgcc_s, libc) against the
|
||||
# build host's library set — which on an amd64 CI runner has no arm64
|
||||
# .so → "impossible de trouver la bibliothèque" → build fails. The
|
||||
# runtime deps are already declared explicitly in debian/control, so
|
||||
# skipping the auto-detection on this one binary is safe and unblocks
|
||||
# the v2.13.0/.1 APT publish (#425).
|
||||
override_dh_shlibdeps:
|
||||
dh_shlibdeps -Xsecubox-redsea
|
||||
|
||||
override_dh_auto_install:
|
||||
# Host FastAPI
|
||||
install -d debian/secubox-sentinelle-gsm/usr/lib/secubox/sentinelle-gsm
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user