Build-Switches: document KERNEL_DO_STUBBLE#928
Conversation
Add a Build Switches entry for KERNEL_DO_STUBBLE, which builds Canonical's stubble EFI stub and assembles a device-tree-auto-selecting Unified Kernel Image (UKI) via ukify. Enabled by default for the uefidt family (uefi-arm64-dt board); opt-in elsewhere. Assisted-by: Claude:claude-opus-4.8
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
WalkthroughA new entry for the Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ 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 |
What
Adds a Build Switches entry for
KERNEL_DO_STUBBLEindocs/Developer-Guide_Build-Switches.md(Advanced section, next toKERNEL_BTF).The switch had no documentation anywhere — it was added to the build framework alongside the
uefidtfamily /uefi-arm64-dtboard but never described for users.Why it matters
KERNEL_DO_STUBBLE=yesbuilds Canonical's stubble EFI stub and, during kernel packaging, runsukifyto assemble a Unified Kernel Image (.efi) that bundles the kernel, the stub, the device trees (auto-selected byfinddtbs.pyagainst a hardware-ID database via--devicetree-auto) and an SBAT section. The result is a single signed UKI that EFI-boots and picks the correct device tree for the running board automatically — the basis of generic UEFI-on-devicetree images.It is enabled by default for the
uefidtfamily and opt-in elsewhere; boards that boot through U-Boot do not use it.Docs-only change.