From: Richard Purdie Date: Sat, 16 Feb 2019 14:52:29 +0000 (+0000) Subject: native: Enable RDEPENDS handling X-Git-Tag: uninative-2.4~328 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=c62520b63284927e177831c351fafa4d2768cb1f;p=openembedded-core.git native: Enable RDEPENDS handling 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 --- diff --git a/meta/classes/native.bbclass b/meta/classes/native.bbclass index 30a30f924d..e9f6c740ab 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}"