November 2017
Intermediate to advanced
162 pages
4h 8m
English
When the task content does not satisfy our requirements, we replace it (providing our own implementation) or append it. As we will learn more extensively when learning about the BitBake metadata syntax in Chapter 7, Diving into BitBake Metadata, the _append and _prepend operators can be used to extend a task with extra content. The new content is concatenated in the original task. For example, to extend a do_install task, we can use the following code:
do_install_append() {# Do my commands}
The mechanisms we can use to extend existing recipes are covered in Chapter 12, Customizing Existing Recipes.
Read now
Unlock full access