Re: [OE-core][PATCH v2] kernel-dummy: fix executing unexpected tasks

Andrej Valek <andrej.valek@...>

Hello Richard,

No it's not a leftover. I've just copied it from kernel.bbclass, where this task is written correctly. But you can change it to previous version I guess.


On Wed, 2020-11-25 at 18:20 +0100, Andrej Valek wrote:
- correctly save files into sstate
- fix: ERROR: Task linux-dummy.do_fetch attempted to execute

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

diff --git a/meta/recipes-kernel/linux/ b/meta/recipes-
kernel/linux/ index 62cf6f5ea6..1498da392c 100644
--- a/meta/recipes-kernel/linux/
+++ b/meta/recipes-kernel/linux/
@@ -5,10 +5,12 @@ where you wish to build the kernel externally from
the build system."
SECTION = "kernel"


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
Is this a leftover from the previous version of the patch? We don't normally need those constraints?



Join { to automatically receive all group messages.