[oe] [meta-initramfs][PATCH 2/3] linux-yocto-tiny-kexecboot: repair after changes in kernel.bbclass

Andrea Adami andrea.adami at gmail.com
Sun Sep 15 16:15:15 UTC 2013


Add INITRAMFS_TASK to build the cpio on first run and exclude
the packaging tasks to avoid the expected errors about modules_split
and packaging. The recipe doesn't create any package.

Signed-off-by: Andrea Adami <andrea.adami at gmail.com>
---
 .../recipes-kernel/linux/linux-yocto-tiny-kexecboot_3.8.bb        | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/meta-initramfs/recipes-kernel/linux/linux-yocto-tiny-kexecboot_3.8.bb b/meta-initramfs/recipes-kernel/linux/linux-yocto-tiny-kexecboot_3.8.bb
index 78858a3..686cc3d 100644
--- a/meta-initramfs/recipes-kernel/linux/linux-yocto-tiny-kexecboot_3.8.bb
+++ b/meta-initramfs/recipes-kernel/linux/linux-yocto-tiny-kexecboot_3.8.bb
@@ -8,6 +8,8 @@ KERNEL_IMAGE_BASE_NAME = "${KERNEL_IMAGETYPE}-yocto-tiny-kexecboot-${PV}-${PR}-$
 KERNEL_IMAGE_SYMLINK_NAME = "${KERNEL_IMAGETYPE}-yocto-tiny-kexecboot-${MACHINE}"
 
 INITRAMFS_IMAGE = "initramfs-kexecboot-klibc-image"
+INITRAMFS_TASK = "initramfs-kexecboot-klibc-image:do_rootfs"
+
 
 do_populate_sysroot() {
     :
@@ -16,3 +18,9 @@ do_populate_sysroot() {
 do_install() {
     :
 }
+
+do_package() {
+}
+
+do_package_ipk() {
+}
-- 
1.8.1.5




More information about the Openembedded-devel mailing list