@@ -47,6 +47,7 @@ python () {
do_configure[noexec] = "1"
+INITRAMFS_DEPLOY_DIR_IMAGE ?= "${DEPLOY_DIR_IMAGE}"
UBOOT_MKIMAGE_KERNEL_TYPE ?= "kernel"
KERNEL_IMAGEDEST ?= "/boot"
@@ -139,7 +140,7 @@ python do_compile() {
# Find and use the first initramfs image archive type we find
found = False
for img in d.getVar("FIT_SUPPORTED_INITRAMFS_FSTYPES").split():
- initramfs_path = os.path.join(d.getVar("DEPLOY_DIR_IMAGE"), "%s.%s" % (d.getVar('INITRAMFS_IMAGE_NAME'), img))
+ initramfs_path = os.path.join(d.getVar("INITRAMFS_DEPLOY_DIR_IMAGE"), "%s.%s" % (d.getVar('INITRAMFS_IMAGE_NAME'), img))
if os.path.exists(initramfs_path):
bb.note("Found initramfs image: " + initramfs_path)
found = True
In the transition from kernel-fitimage.bbclass a fix for initramfs multiconfig was partly reverted, maybe because the default value for INITRAMFS_DEPLOY_DIR_IMAGE is only set in kernel.bbclass and therefore not accessible in kernel-fit-image.bbclass. This fix introduces INITRAMFS_DEPLOY_DIR_IMAGE in kernel-fit-image.bbclass, so initramfs multiconfig works as expected. Signed-off-by: Rouven Rastetter <rouven.rastetter.ext@karlstorz.com> --- meta/classes-recipe/kernel-fit-image.bbclass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)