During firmware image creation, opkg tries to create a lock file in the staging root filesystem's /tmp directory, but this directory doesn't always exist, causing the build to fail at the final packaging stage. Error: opkg_conf_load: Could not create lock file .../root.orig-mvebu//tmp/opkg.lock: No such file or directory ERROR: target/linux failed to build Solution: - Create tmp directories in all staging root filesystems before build - Apply fix in both parallel and single-threaded build paths - Use wildcard patterns to catch all target architectures Changes: - local-build.sh: Create tmp dirs before and during retry - build-secubox-images.yml: Create tmp dirs in workflow - .gitignore: Ignore build artifacts (openwrt/, local-feed/, .vscode/) This ensures the build can complete the final image packaging step successfully, generating the firmware images. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
10 lines
173 B
Plaintext
10 lines
173 B
Plaintext
# Build artifacts from local-build.sh
|
|
secubox-tools/sdk/
|
|
secubox-tools/cache/
|
|
secubox-tools/build/
|
|
secubox-tools/openwrt/
|
|
secubox-tools/local-feed/
|
|
|
|
# IDE settings
|
|
.vscode/
|