secubox-openwrt/.github/workflows
CyberMind-FR 7ea22732b2 fix: resolve firmware image generation issue in build workflow
The build workflow was completing successfully but only generating
packages (.ipk files) without producing actual firmware images
(.img.gz, *sysupgrade.bin, etc.). This commit adds the necessary
configuration and diagnostics to ensure firmware images are built.

Changes:
- Add explicit image building flags (CONFIG_TARGET_PER_DEVICE_ROOTFS)
  to enable firmware generation in OpenWrt build
- Add CONFIG_TARGET_MULTI_PROFILE=n and CONFIG_TARGET_ALL_PROFILES=n
  to ensure single device profile builds correctly
- Add device profile verification step after make defconfig to catch
  configuration issues early before the lengthy build process
- Specify PROFILE parameter explicitly in make commands to ensure
  OpenWrt builds firmware for the exact device profile
- Add comprehensive diagnostics when no images are found:
  * List available targets that were built
  * Scan build logs for errors
  * Show all files in target directory
  * Provide actionable troubleshooting steps
- Add step to save build logs and .config file to artifacts for
  post-mortem debugging

Root cause: OpenWrt requires explicit configuration flags to build
firmware images. Without them, it only builds packages. The build
system also needs the PROFILE parameter to target specific devices.

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

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-24 16:24:04 +01:00
..
build-openwrt-packages.yml fix: correct Makefile include paths for SDK and image builds 2025-12-24 14:02:31 +01:00
build-secubox-images.yml fix: resolve firmware image generation issue in build workflow 2025-12-24 16:24:04 +01:00
test-validate.yml fix: improve feed update error handling and validation 2025-12-24 00:37:12 +01:00