summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2013-04-18 14:27:08 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-04-18 15:31:21 +0100
commit578937213c6db9fa99981778ce61210e391b19a7 (patch)
tree31005a099ae072d09812ae5062d992554d8feac9
parentdb1f6b24ddb2a19fb16b2ebb948bb3274b7ac295 (diff)
downloadopenembedded-core-578937213c6db9fa99981778ce61210e391b19a7.tar.gz
openembedded-core-578937213c6db9fa99981778ce61210e391b19a7.tar.bz2
openembedded-core-578937213c6db9fa99981778ce61210e391b19a7.zip
perf: Ensure license is handled correctly
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>
-rw-r--r--meta/recipes-kernel/perf/perf.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-kernel/perf/perf.bb b/meta/recipes-kernel/perf/perf.bb
index 210c4cbf65..844e8807ca 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