]> code.ossystems Code Review - openembedded-core.git/commitdiff
populate_sdk_base/images: Drop use of 'meta' class and hence do_build dependencies
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 19 Sep 2021 12:51:50 +0000 (13:51 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 23 Sep 2021 12:49:07 +0000 (13:49 +0100)
The 'meta' is old and not very useful. It empties PACKAGES and creates
recursive do_build dependencies.

We shouldn't need such recursive build dependencies any more so simplify the code.

This does cause behaviour changes as some dependencies are no longer built.
It did show up issues with qemu-helper-native handling for example but those
issues look like real races and the underlying dependency chains were not correct.

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

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

index ccfe223289502e99ad300cbe77d2170d4e5cb6b3..49e166e697df19a79db6a7c1900a928322b1f6b7 100644 (file)
@@ -1,4 +1,6 @@
-inherit meta image-postinst-intercepts image-artifact-names
+PACKAGES = ""
+
+inherit image-postinst-intercepts image-artifact-names
 
 # Wildcards specifying complementary packages to install for every package that has been explicitly
 # installed into the rootfs