From: Manjukumar Matha Date: Fri, 15 Feb 2019 00:45:18 +0000 (-0800) Subject: kernel-fitimage.bbclass: Fix the dependency issue while generating fitimage_initramfs X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~15347 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f0bece39a634fce5bd882cbd9e289ea905a0b17;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git kernel-fitimage.bbclass: Fix the dependency issue while generating fitimage_initramfs When building fitimage_initramfs, the correct depedency is to build after do_bundle_initramfs. We can run into the following dependency issue DEBUG: Python function extend_recipe_sysroot finished DEBUG: Executing shell function do_assemble_fitimage_initramfs aarch64-xilinx-linux-objcopy: 'vmlinux': No such file This happens because initramfs renames vmlinux to vmlinux.bak while generating vmlinux.initramfs, there is a chance that fitimage_initramfs can also start during this process and create the above issue. This patch resolve the dependency issue by running fitimage_initramfs task after do_bundle_initramfs Signed-off-by: Varalaxmi Bingi Signed-off-by: Manjukumar Matha Signed-off-by: Richard Purdie --- diff --git a/meta/classes/kernel-fitimage.bbclass b/meta/classes/kernel-fitimage.bbclass index 718162a861f..8ebd3ddd1e2 100644 --- a/meta/classes/kernel-fitimage.bbclass +++ b/meta/classes/kernel-fitimage.bbclass @@ -488,7 +488,7 @@ do_assemble_fitimage_initramfs() { fi } -addtask assemble_fitimage_initramfs before do_deploy after do_install +addtask assemble_fitimage_initramfs before do_deploy after do_bundle_initramfs kernel_do_deploy[vardepsexclude] = "DATETIME"