Understanding BitBake’s tasks
BitBake uses execution units, which are, in essence, a set of clustered instructions that run in sequence. These units are known as tasks. During every recipe’s build, BitBake, schedules, executes, and checks many tasks provided by classes to form the framework we use to build a recipe. Therefore, it is essential to understand some of these, as we often use, extend, implement, or replace them ourselves when writing a recipe.
When we run the following command, BitBake runs a set of scheduled tasks:
Figure 5.11 – How to run all tasks for a recipe
When we wish to run a specific task, we can use the following command:
Figure 5.12 – How to run a particular task for a recipe
To list the tasks defined for a recipe, we can use the following command:
Figure 5.13 – How to list all tasks for a recipe
The output of listtasks
for the wget...