public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
From: "Andrej Valek" <andrej.valek@siemens.com>
To: openembedded-core@lists.openembedded.org, raj.khem@gmail.com
Cc: yocto@lists.yoctoproject.org, Andrej Valek <andrej.valek@siemens.com>
Subject: [OE-core][PATCH v2] kernel-dummy: fix executing unexpected tasks
Date: Wed, 25 Nov 2020 18:20:45 +0100	[thread overview]
Message-ID: <20201125172045.8697-1-andrej.valek@siemens.com> (raw)
In-Reply-To: <20201125165417.29781-1-andrej.valek@siemens.com>

 - correctly save files into sstate
  - fix: ERROR: Task linux-dummy.do_fetch attempted to execute unexpectedly

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
---
 meta/recipes-kernel/linux/linux-dummy.bb | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-kernel/linux/linux-dummy.bb b/meta/recipes-kernel/linux/linux-dummy.bb
index 62cf6f5ea6..1498da392c 100644
--- a/meta/recipes-kernel/linux/linux-dummy.bb
+++ b/meta/recipes-kernel/linux/linux-dummy.bb
@@ -5,10 +5,12 @@ where you wish to build the kernel externally from the build system."
 SECTION = "kernel"
 
 LICENSE = "GPLv2"
-LIC_FILES_CHKSUM = "file://${WORKDIR}/COPYING.GPL;md5=751419260aa954499f7abaabaa882bbe"
+LIC_FILES_CHKSUM = "file://COPYING.GPL;md5=751419260aa954499f7abaabaa882bbe"
 
 PROVIDES += "virtual/kernel"
 
+inherit deploy
+
 PACKAGES_DYNAMIC += "^kernel-module-.*"
 PACKAGES_DYNAMIC += "^kernel-image-.*"
 PACKAGES_DYNAMIC += "^kernel-firmware-.*"
@@ -60,6 +62,6 @@ do_deploy() {
 }
 
 addtask bundle_initramfs after do_install before do_deploy
-addtask deploy after do_install
+addtask deploy after do_populate_sysroot do_packagedata
 addtask shared_workdir after do_compile before do_install
 addtask compile_kernelmodules
-- 
2.11.0


  parent reply	other threads:[~2020-11-25 17:21 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-25 10:17 Error when building eSDK for a "linux-dummy" Andrej Valek
2020-11-25 15:42 ` Khem Raj
2020-11-25 16:54   ` [OE-core][PATCH] kernel-dummy: fix executing unexpected tasks Andrej Valek
2020-11-25 17:02     ` [yocto] " Paul Barker
2020-11-25 17:05     ` Bruce Ashfield
2020-11-25 17:20     ` Andrej Valek [this message]
2020-11-26 14:37       ` [OE-core][PATCH v2] " Richard Purdie
2020-11-26 14:44         ` Andrej Valek
2020-11-26 14:51           ` Richard Purdie
2020-11-26 15:10             ` Andrej Valek
2020-11-29  7:49     ` [OE-core][PATCH v3] " Andrej Valek

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=20201125172045.8697-1-andrej.valek@siemens.com \
    --to=andrej.valek@siemens.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=raj.khem@gmail.com \
    --cc=yocto@lists.yoctoproject.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