diff options
| author | Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> | 2019-02-14 16:45:18 -0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-02-18 10:33:13 +0000 |
| commit | c71dc290b0b9e634f6f2e9475928628137e8e565 (patch) | |
| tree | 1458aa96bfcdb93ee46ce4c311983fa0fc0937d3 /meta/classes/kernel-fitimage.bbclass | |
| parent | 0effcba538cd52a139196344b0192c2d159a0d87 (diff) | |
| download | poky-c71dc290b0b9e634f6f2e9475928628137e8e565.tar.gz | |
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
(From OE-Core rev: 8f0bece39a634fce5bd882cbd9e289ea905a0b17)
Signed-off-by: Varalaxmi Bingi<varalaxm@xilinx.com>
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/kernel-fitimage.bbclass')
| -rw-r--r-- | meta/classes/kernel-fitimage.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/kernel-fitimage.bbclass b/meta/classes/kernel-fitimage.bbclass index 718162a861..8ebd3ddd1e 100644 --- a/meta/classes/kernel-fitimage.bbclass +++ b/meta/classes/kernel-fitimage.bbclass | |||
| @@ -488,7 +488,7 @@ do_assemble_fitimage_initramfs() { | |||
| 488 | fi | 488 | fi |
| 489 | } | 489 | } |
| 490 | 490 | ||
| 491 | addtask assemble_fitimage_initramfs before do_deploy after do_install | 491 | addtask assemble_fitimage_initramfs before do_deploy after do_bundle_initramfs |
| 492 | 492 | ||
| 493 | 493 | ||
| 494 | kernel_do_deploy[vardepsexclude] = "DATETIME" | 494 | kernel_do_deploy[vardepsexclude] = "DATETIME" |
