[OE-core] [PATCH 6/6] perf: Ensure license is handled correctly

Richard Purdie richard.purdie at linuxfoundation.org
Thu Apr 18 14:33:31 UTC 2013


The do_populate_lic task has a race with the recipe since it relies on the
kernel being populated in the sysroot. This patch adds in the explicit missing
dependency.

[YOCTO #3534]

Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/recipes-kernel/perf/perf.bb |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-kernel/perf/perf.bb b/meta/recipes-kernel/perf/perf.bb
index 210c4cb..844e880 100644
--- a/meta/recipes-kernel/perf/perf.bb
+++ b/meta/recipes-kernel/perf/perf.bb
@@ -41,6 +41,8 @@ export STAGING_LIBDIR
 export BUILD_SYS
 export HOST_SYS
 
+do_populate_lic[depends] += "virtual/kernel:do_populate_sysroot"
+
 # needed for building the tools/perf Perl binding
 inherit perlnative cpan-base
 # Env var which tells perl if it should use host (no) or target (yes) settings
-- 
1.7.10.4





More information about the Openembedded-core mailing list