From: Stefan Stanacar <sstncr@gmail.com>
To: openembedded-core@lists.openembedded.org
Subject: [morty][PATCH] kernelsrc/perf: fix dependency on non existant task when using externalsrc
Date: Thu, 11 Jan 2018 16:07:20 +0000 [thread overview]
Message-ID: <1515686841-28097-1-git-send-email-sstncr@gmail.com> (raw)
When externalsrc is enabled for kernel, do_patch doesn't exist since is in
SRCTREECOVEREDTASKS, so make these depend on a real task.
Fixes:
ERROR: Task do_unpack in /data/yocto/poky/meta/recipes-kernel/perf/perf.bb
depends upon non-existent task do_patch in /data/yocto/poky/meta/recipes-kernel/linux/linux-yocto_4.8.bb
Signed-off-by: Stefan Stanacar <sstncr@gmail.com>
---
meta/classes/kernelsrc.bbclass | 2 +-
meta/recipes-kernel/perf/perf.bb | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta/classes/kernelsrc.bbclass b/meta/classes/kernelsrc.bbclass
index 9efd46a..ce6c999 100644
--- a/meta/classes/kernelsrc.bbclass
+++ b/meta/classes/kernelsrc.bbclass
@@ -1,6 +1,6 @@
S = "${STAGING_KERNEL_DIR}"
do_fetch[noexec] = "1"
-do_unpack[depends] += "virtual/kernel:do_patch"
+do_unpack[depends] += "virtual/kernel:do_configure"
do_unpack[noexec] = "1"
do_patch[noexec] = "1"
do_package[depends] += "virtual/kernel:do_populate_sysroot"
diff --git a/meta/recipes-kernel/perf/perf.bb b/meta/recipes-kernel/perf/perf.bb
index 03ae446..145774b 100644
--- a/meta/recipes-kernel/perf/perf.bb
+++ b/meta/recipes-kernel/perf/perf.bb
@@ -47,7 +47,7 @@ export PYTHON_SITEPACKAGES_DIR
#kernel 3.1+ supports WERROR to disable warnings as errors
export WERROR = "0"
-do_populate_lic[depends] += "virtual/kernel:do_patch"
+do_populate_lic[depends] += "virtual/kernel:do_configure"
# needed for building the tools/perf Perl binding
inherit perlnative cpan-base
--
2.7.4
next reply other threads:[~2018-01-11 16:07 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-11 16:07 Stefan Stanacar [this message]
2018-01-11 16:07 ` [morty][PATCH] kernel.bbclass: Fix symlink creation when using externalsrc Stefan Stanacar
2018-01-17 19:04 ` akuster808
2018-01-18 16:41 ` Stefan Stanacar
2018-01-12 16:21 ` [morty][PATCH] kernelsrc/perf: fix dependency on non existant task " Joshua Watt
2018-01-12 17:01 ` Stefan Stanacar
-- strict thread matches above, loose matches on Subject: below --
2018-01-29 14:39 Stefan Stanacar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1515686841-28097-1-git-send-email-sstncr@gmail.com \
--to=sstncr@gmail.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox