[OE-core] [PATCH 6/7] native: Enable RDEPENDS handling

Richard Purdie richard.purdie at linuxfoundation.org
Sat Feb 16 21:46:37 UTC 2019

Native recipes don't currently honour their RDEPENDS. In the case of
some python scripts this has started causing problems since whilst they're
not needed at build time (DEPENDS), they are needed at runtime.

We put off making this change due to circular dependency issues. I believe
the two such problems in OE-Core are now fixed, as is the dependency loop
identfication code in bitbake so its time to improve this situation.

[YOCTO #10113]

Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
 meta/classes/native.bbclass | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta/classes/native.bbclass b/meta/classes/native.bbclass
index 30a30f924d9..e9f6c740abb 100644
--- a/meta/classes/native.bbclass
+++ b/meta/classes/native.bbclass
@@ -192,3 +192,6 @@ do_packagedata[stamp-extra-info] = ""
 do_populate_sysroot[stamp-extra-info] = ""
 USE_NLS = "no"
+RECIPERDEPTASK = "do_populate_sysroot"
+do_populate_sysroot[rdeptask] = "${RECIPERDEPTASK}"

More information about the Openembedded-core mailing list