[oe-commits] [openembedded-core] 01/10: kernel-fitimage.bbclass: Fix the dependency issue while generating fitimage_initramfs

git at git.openembedded.org git at git.openembedded.org
Sun Feb 17 22:55:24 UTC 2019


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit e39d3a51b000411d94260c9ef43e8d31f720b435
Author: Manjukumar Matha <manjukumar.harthikote-matha at xilinx.com>
AuthorDate: Thu Feb 14 16:45:18 2019 -0800

    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<varalaxm at xilinx.com>
    Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha at xilinx.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/classes/kernel-fitimage.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/kernel-fitimage.bbclass b/meta/classes/kernel-fitimage.bbclass
index 718162a..8ebd3dd 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"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list