Patching Unpatchable Files
- Anna-Lena Marx
- Embedded , Conferences
- December 5, 2024
In the Yocto world, the .bbappend file is a well-known and documented mechanism for altering recipe files, and an essential part of daily operations. While not common, there are instances where it becomes necessary to modify other file types, such as .inc or .bbclass, which do not offer an equivalent append mechanism. This session will summarize various strategies for effectively handling these file types when patching cannot be avoided.
In my recent presentation at the Yocto Developer Day in Vienna, I mentioned using the KAS patch mechanism for minor modifications to files like .inc or .bbclass, where the Yocto internal overwriting mechanism via .bbappend files does not apply. Initially intended as a helpful side note on how I navigated a few unique situations, this part quickly escalated into the most discussed segment of the talk. Half of the attendees I spoke with found it valuable, while the other half expressed strong objections.
In this follow-up session, I aim to dive deeper into the complexities of working with these “unpatchable” files and explore the following key questions:
In which situations is patching valid? What strategies and approaches —both well-known and lesser-known— are generally available? Which strategy is best suited for different scenarios and use cases? In conclusion, this talk aims to present and document various strategies for addressing the challenge of “patching unpatchable files” and to encourage discussions on best practices.
Presented at
- Yocto Project Summit 2024.12, virtual
Related Posts
Android Automotive OS: A short introduction into Google's AAOS
- Anna-Lena Marx
- April 2, 2024
- Embedded , Conferences
Android, or the Android Open Source Project (AOSP), is primarily known from the smartphone market. What is less well known, however, is that the AOSP also provides a good basis for embedded systems and ensures a pleasant reading experience on eReaders, for example.
Read PostEmbedded World 2024
- Anna-Lena Marx
- April 24, 2024
- Embedded
While I’m a regular visitor of the Embedded World Exhibition, this year was different. I had not only a more business-focused visit with lots of meetings with old and new partners and customers, but I also had the chance to serve rather spontaneously as a speaker, or better “Table Captain,” at the second edition of Embedded World’s women networking event #women4ew. Thus, I want to recap both parts separately and make a reference to what changed in contrast to my experiences outlined in the recently published post on International Women’s Day.
Read PostUSB Updates - Challenges, Approaches and Practical Tips
- Anna-Lena Marx
- February 24, 2024
- Embedded , Conferences
Over-the-air updates have established themselves as the standard for networked devices, but the effort involved in operating the server side is not always commensurate with the benefits. In such cases, the supposedly simple and quick solution of implementing updates via USB is often chosen. But is it really always that uncomplicated? What considerations are necessary to implement USB updates effectively?
Read Post