~/talk

Common design mistakes and better practises

Talkat Yocto Project Developer Day 2023 · on Monday, 2023-06-26· [software-architecture]

Common Yocto mistakes and concrete fixes: many layers embed duplicated logic and even a 1500-line bash script for OTA updates instead of using established frameworks; recipes install debug tools like htop and nano in production images; compatibility_machines and inherit misuse breaks builds; ad hoc editing of u-boot sources in do_install creates race conditions. Use official libraries (volatile binds, ROOT_HOME), overrides (MACHINE and DISTRO) to produce secure vs debug variants, prefer small scripts, enable linters and code review, and replace duplicated code with targeted appends and SRC_URI patches.

AI-written summary · about

  1. 0:00Introduction to design mistakes
  2. 4:56Code smells and technical debt
  3. 7:46Better naming practices
  4. 10:37Using overrides in Yocto
  5. 14:11Yocto layer architecture
  6. 17:03Avoiding long bash scripts
  7. 20:11Debugging complex builds
  8. 22:42Fixing QA process workarounds
  9. 23:45Key takeaways and conclusion
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.