Skip to contentSkip to conversation

perf: source should be ready after do_unpack

PATCH New Robert Yang 1 participant 2 messages Sep 12, 2013

lore
Share & tools
lore
#0 lore raw

cover perf: source should be ready after do_unpack

The following changes since commit bd76847d867f9f76f76f033439cfb834cf59380f:

libnewt-python: Don't write a whiptail package (2013-09-12 08:23:42 +0100)

are available in the git repository at:

git://git.pokylinux.org/poky-contrib robert/perf
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=robert/perf

Robert Yang (1):
perf: source should be ready after do_unpack

 meta/recipes-kernel/perf/perf.bb |    3 +++
 1 file changed, 3 insertions(+)
Signature · 1 line
1.7.10.4
#1 lore raw

PATCH 1/1 perf: source should be ready after do_unpack

In perf.bb:

S = "${STAGING_KERNEL_DIR}"

So the source should be ready after the do_unpack, and we need this:

do_unpack[depends] += "virtual/kernel:do_populate_sysroot"

Otherwise, maybe no source after do_unpack.

[YOCTO #5168]

---
 meta/recipes-kernel/perf/perf.bb |    3 +++
 1 file changed, 3 insertions(+)
meta/recipes-kernel/perf/perf.bb +3 -0
index a78fc05..d2c1048 100644
@@ -52,6 +52,9 @@ export PERL_LIB = "${STAGING_LIBDIR}${PERL_OWN_DIR}/perl/${@get_perl_version(d)}
 export PERL_ARCHLIB = "${STAGING_LIBDIR}${PERL_OWN_DIR}/perl/${@get_perl_version(d)}"
 
 S = "${STAGING_KERNEL_DIR}"
+# The source should be ready after the do_unpack
+do_unpack[depends] += "virtual/kernel:do_populate_sysroot"
+
 B = "${WORKDIR}/${BPN}-${PV}"
 
 SCRIPTING_DEFINES = "${@perf_feature_enabled('perf-scripting', '', 'NO_LIBPERL=1 NO_LIBPYTHON=1',d)}"
Signature · 1 line
1.7.10.4