]> code.ossystems Code Review - openembedded-core.git/commit
package_ipk/deb/rpm: Drop recursive do_build task dependencies
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 19 Sep 2021 10:52:23 +0000 (11:52 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 23 Sep 2021 12:49:07 +0000 (13:49 +0100)
commit220d29a5abb5be8b80c64d8f2f48949bc8c534a3
treeebd85004b3ba1faed9fa52c841a00c54914bd56b
parent29daffc2410f06f36b779d5bf1fd1ef6e900ca8f
package_ipk/deb/rpm: Drop recursive do_build task dependencies

This is a controversial change which removes the recursive dependencies
from the do_build target of packaging tasks of recipes.

Currently this means when you "bitbake <image>" or "bitbake <recipe>",
the packaging tasks run for all packaging backends enabled for all recipes
in the dependency chain. The same therefore then applies to images.

We don't actually need that, it is a convinience thing. Removing it
massively simplifies the task graph and causes much fewer tasks to execute
in many common scenarios. It also means less sstate is fetched for
example when building an image.

This means when building a recipe all package formats would be built
but when building an image, only the format used by the image would be
generated. This should be an improvement in most cases but some CI systems
may need to be explict about what they're building.

'bitbake XXX --runall build' would give the previous behaviour.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/package_deb.bbclass
meta/classes/package_ipk.bbclass
meta/classes/package_rpm.bbclass