fix: properly disable lucihttp and cgi-io in SDK config

The previous config used commented-out format which didn't actually
disable the packages, causing them to be built and fail.

Changes:
- Changed from: echo "# CONFIG_PACKAGE_lucihttp is not set"
- Changed to:   echo "CONFIG_PACKAGE_lucihttp=n"
- Same for cgi-io
- Added CONFIG_BROKEN=y to allow missing dependencies

This matches the local-build.sh approach and prevents SDK from trying
to compile these problematic packages that our scripts don't need.

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

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
CyberMind-FR 2025-12-31 06:09:21 +01:00
parent 1684d9d9e7
commit 9cee74064c

View File

@ -567,13 +567,16 @@ jobs:
# Disable problematic packages that fail to compile in SDK
# Our SecuBox packages are PKGARCH:=all (scripts) so they don't need these
echo "# CONFIG_PACKAGE_lucihttp is not set" >> .config
echo "# CONFIG_PACKAGE_cgi-io is not set" >> .config
echo "CONFIG_PACKAGE_lucihttp=n" >> .config
echo "CONFIG_PACKAGE_cgi-io=n" >> .config
# Enable use of pre-built packages from feeds
echo "CONFIG_FEED_packages=y" >> .config
echo "CONFIG_FEED_luci=y" >> .config
# Allow missing dependencies (our packages are standalone scripts)
echo "CONFIG_BROKEN=y" >> .config
make defconfig
- name: Build packages