Patching unpatchable files
summary
Explains when editing .bbclass or .inc is justified, compares three workable approaches and the tradeoffs: copy-and-modify into your layer (vendoring), create a same-named class that inherits and overrides specific functions, or use the KAS patch mechanism to apply diffs after checkout. Shows the exact files changed (two to three .bbclass edits needed for the Manda image case), why recipe patching via do_fetch/do_patch cannot target .bbclass, and when each approach fails to stay maintainable.
AI-written summary · about
