[oe] [meta-initramfs][PATCH] linux-yocto-tiny-kexecboot: fix build error (cpio not found)

Andrea Adami andrea.adami at gmail.com
Sun Feb 28 22:41:57 UTC 2016


As seen in the autobuilder the script generating the initramfs fails
because the .cpio is not found.

Match changes in the oe-core classes and redefine the INITRAMFS_TASK.
See commit 59a5f59 in oe-core "classes: Fix do_rootfs references"

Signed-off-by: Andrea Adami <andrea.adami at gmail.com>
---
 meta-initramfs/recipes-kernel/linux/linux-yocto-tiny-kexecboot_4.4.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-initramfs/recipes-kernel/linux/linux-yocto-tiny-kexecboot_4.4.bb b/meta-initramfs/recipes-kernel/linux/linux-yocto-tiny-kexecboot_4.4.bb
index 2904ab6..e6c6d9d 100644
--- a/meta-initramfs/recipes-kernel/linux/linux-yocto-tiny-kexecboot_4.4.bb
+++ b/meta-initramfs/recipes-kernel/linux/linux-yocto-tiny-kexecboot_4.4.bb
@@ -8,7 +8,7 @@ KERNEL_IMAGE_BASE_NAME = "${KERNEL_IMAGETYPE}-yocto-tiny-kexecboot-${PV}-${MACHI
 KERNEL_IMAGE_SYMLINK_NAME = "${KERNEL_IMAGETYPE}-yocto-tiny-kexecboot-${MACHINE}"
 
 INITRAMFS_IMAGE = "initramfs-kexecboot-klibc-image"
-INITRAMFS_TASK = "${INITRAMFS_IMAGE}:do_rootfs"
+INITRAMFS_TASK = "${INITRAMFS_IMAGE}:do_image_complete"
 
 # disable unneeded tasks
 do_shared_workdir[noexec] = "1"
-- 
1.9.1




More information about the Openembedded-devel mailing list