recomputer-rk3588-devkit: drop duplicate common.inc sourcing - #10649
Conversation
…RANCH case The unconditional `enable_extension "radxa-aic8800"` and `source recomputer-rk35xx-common.inc` at the top of the board conf duplicated what the BRANCH case below already does for vendor, so BRANCH=vendor sourced common.inc twice. Each sourcing runs `enable_extension "seeed_armbian_extension"`, which enables `armbian-ota/ota-support` again; the second pass trips "OTA_COMMON_ROOTFS: readonly variable" (ota-support.sh declares it readonly) and aborts the build. The case statement covers both branches, so the pre-case lines are simply removed.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Team Run ID: 📒 Files selected for processing (1)
💤 Files with no reviewable changes (1)
Included review availability: Your plan provides up to 8 included reviews per hour; 7 remain after this review. 📝 WalkthroughWalkthroughThe board configuration now applies branch-specific settings for the Changes
Estimated code review effort: 1 (Trivial) | ~2 minutes Merge Risk: ⚪ Minimal · up to The board configuration removes duplicate extension setup that prevented vendor-branch builds; no remaining merge-blocking risk is identified. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
✅ This PR has been reviewed and approved — all set for merge! |
Description
The board conf sourced
recomputer-rk35xx-common.incand enabledradxa-aic8800unconditionally before theBRANCHcase, which does both again forBRANCH=vendor— socommon.incwas sourced twice. Each sourcing runsenable_extension "seeed_armbian_extension", and with the OTA extension enabled the second pass aborts the build at config stage:The
BRANCHcase already covers both branches, so the pre-case lines are simply removed.GitHub issue reference: N/A
Jira reference: N/A
How Has This Been Tested?
recomputer-rk3588-devkitwithBRANCH=vendorpreviously aborted atconfig_source_board_filewith the error above; with the duplicatesourceremoved, the extension chain is enabled exactly once and the build proceeds.Checklist:
Summary by CodeRabbit