[oe-commits] Richard Purdie : perf: Ensure license is handled correctly

git at git.openembedded.org git at git.openembedded.org
Thu Apr 18 14:28:40 UTC 2013


Module: openembedded-core.git
Branch: master-next
Commit: 578937213c6db9fa99981778ce61210e391b19a7
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=578937213c6db9fa99981778ce61210e391b19a7

Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date:   Thu Apr 18 14:27:08 2013 +0000

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 at linuxfoundation.org>

---

 meta/recipes-kernel/perf/perf.bb |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

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





More information about the Openembedded-commits mailing list