secubox-openwrt/.github
CyberMind-FR b0295e6e89 fix(ci): patch Makefiles to remove dependencies during SDK build
The build was still trying to compile lucihttp even though disabled in
.config because `make package/XXX/compile` automatically resolves and
builds ALL dependencies regardless of .config settings.

Solution: Patch package Makefiles to comment out LUCI_DEPENDS before
building. This works because:
- Our packages are PKGARCH:=all (pure Lua scripts)
- Dependencies (luci-base, lucihttp, rpcd) are runtime-only
- They will be installed as prebuilt packages on target device
- No compilation is needed for our script-only packages

Changes:
- Added "Patch packages" step to remove LUCI_DEPENDS from Makefiles
- Uses sed to comment out dependency declarations
- Applied before configure step so defconfig doesn't pull in deps

This allows SDK to build our packages without trying to compile
incompatible dependencies like lucihttp (Lua 5.1 API with Lua 5.4).

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-03 09:55:11 +01:00
..
workflows fix(ci): patch Makefiles to remove dependencies during SDK build 2026-01-03 09:55:11 +01:00
copilot-instructions.md feat(vhost-manager,network-tweaks): major v2.0 upgrade with dashboards and automation 2026-01-01 14:30:57 +01:00