Search code examples
yocto

How do I generate an ordered lists of the executed tasks when bitbaking a package?


I know that I can list the possible tasks with:

bitbake package -c listtasks

But this list also includes tasks that need to be called explicitly (like do_devshell or do_clean), and I wish to watch what is called when running:

bitbake package

Looking through the output obtained with 'bitbake -e package' also didn't provide much information I was able to parse.

Given that the order of tasks has to be explicitly defined with 'before' and 'after' when adding a task, I would expect it to be stored in some form.


Solution

  • The order in which all tasks executes are generally stored in

    poky/<build_directory>/tmp/work/<machine_toolchain>/<package_name>/<package_version>/temp/log.task_order

    For example If you build python v2.7.12 utility, using bitbake python then the detailed task order will be available at

    poky/build/tmp/work/<machine_toolchain>/python/2.7.12-r1/temp/log.task_order