]> code.ossystems Code Review - openembedded-core.git/commitdiff
native: Enable RDEPENDS handling
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 16 Feb 2019 14:52:29 +0000 (14:52 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 17 Feb 2019 10:18:49 +0000 (10:18 +0000)
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 three 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@linuxfoundation.org>
meta/classes/native.bbclass

index 30a30f924d9153755b838defa4c69237b9b255ab..e9f6c740abb8e987c39b596b1e7d8840449bfa18 100644 (file)
@@ -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}"