Patchwork [6/6] perf: Ensure license is handled correctly

login
register
mail settings
Submitter Richard Purdie
Date April 18, 2013, 2:33 p.m.
Message ID <1366295611-4646-6-git-send-email-richard.purdie@linuxfoundation.org>
Download mbox | patch
Permalink /patch/48501/
State Accepted
Commit 578937213c6db9fa99981778ce61210e391b19a7
Headers show

Comments

Richard Purdie - April 18, 2013, 2:33 p.m.
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@linuxfoundation.org>
---
 meta/recipes-kernel/perf/perf.bb |    2 ++
 1 file changed, 2 insertions(+)

Patch

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