diff options
| author | Weisser, Pascal.ext <Pascal.Weisser.ext@karlstorz.com> | 2025-02-06 09:26:57 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-02-11 11:44:19 +0000 |
| commit | eb1537f04b4fe44c15a8131184bcc3acc63b559a (patch) | |
| tree | ddfab77234fdf3dab87d89752590509f371c2dfe /meta/classes-recipe/kernel-fitimage.bbclass | |
| parent | 2fb5d93afb78107047903b1aa9dd0d4a8deec6f3 (diff) | |
| download | poky-eb1537f04b4fe44c15a8131184bcc3acc63b559a.tar.gz | |
kernel-fitImage: Remove dependeny on initramfs image when bundled.
In case the initramfs image is bundled into the kernel there's no need to
specify a dependeny on the do_image_complete task of the initramfs image
from the do_assemble_fitimage_initramfs task since the task won't access
the image.
(From OE-Core rev: af6cde746f72be761550ee28b017719fba26ea65)
Signed-off-by: Weisser, Pascal <pascal.weisser.ext@karlstorz.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes-recipe/kernel-fitimage.bbclass')
| -rw-r--r-- | meta/classes-recipe/kernel-fitimage.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes-recipe/kernel-fitimage.bbclass b/meta/classes-recipe/kernel-fitimage.bbclass index 5f1231fde3..f41509d308 100644 --- a/meta/classes-recipe/kernel-fitimage.bbclass +++ b/meta/classes-recipe/kernel-fitimage.bbclass | |||
| @@ -38,7 +38,7 @@ python __anonymous () { | |||
| 38 | d.setVar('KERNEL_IMAGETYPE_FOR_MAKE', typeformake.replace('fitImage', d.getVar('KERNEL_IMAGETYPE_REPLACEMENT'))) | 38 | d.setVar('KERNEL_IMAGETYPE_FOR_MAKE', typeformake.replace('fitImage', d.getVar('KERNEL_IMAGETYPE_REPLACEMENT'))) |
| 39 | 39 | ||
| 40 | image = d.getVar('INITRAMFS_IMAGE') | 40 | image = d.getVar('INITRAMFS_IMAGE') |
| 41 | if image: | 41 | if image and not bb.utils.to_boolean(d.getVar('INITRAMFS_IMAGE_BUNDLE')): |
| 42 | if d.getVar('INITRAMFS_MULTICONFIG'): | 42 | if d.getVar('INITRAMFS_MULTICONFIG'): |
| 43 | mc = d.getVar('BB_CURRENT_MC') | 43 | mc = d.getVar('BB_CURRENT_MC') |
| 44 | d.appendVarFlag('do_assemble_fitimage_initramfs', 'mcdepends', ' mc:' + mc + ':${INITRAMFS_MULTICONFIG}:${INITRAMFS_IMAGE}:do_image_complete') | 44 | d.appendVarFlag('do_assemble_fitimage_initramfs', 'mcdepends', ' mc:' + mc + ':${INITRAMFS_MULTICONFIG}:${INITRAMFS_IMAGE}:do_image_complete') |
