[gnome-continuous-yocto/gnomeostree-3.28-rocko: 3591/8267] kernel.bbclass: do not copy bundled initramfs to /boot



commit fffc641a103f5421caa83a820d1703bcfa7a940b
Author: Andreas Oberritter <obi opendreambox org>
Date:   Thu Dec 1 00:36:50 2016 +0100

    kernel.bbclass: do not copy bundled initramfs to /boot
    
    These files cause warnings because they don't get packaged, now that they
    don't land in kernel-vmlinux anymore.
    
    (From OE-Core rev: a49569e3a7534779bbe3f01a0647fd076c95798d)
    
    Signed-off-by: Andreas Oberritter <obi opendreambox org>
    Signed-off-by: Ross Burton <ross burton intel com>
    Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>

 meta/classes/kernel.bbclass |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index abf9d65..5587346 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -235,12 +235,6 @@ do_bundle_initramfs () {
                                mv -f ${KERNEL_OUTPUT_DIR}/$type.bak ${KERNEL_OUTPUT_DIR}/$type
                        fi
                done
-               # Update install area
-               for type in ${KERNEL_IMAGETYPES} ; do
-                       echo "There is kernel image bundled with initramfs: 
${B}/${KERNEL_OUTPUT_DIR}/$type.initramfs"
-                       install -m 0644 ${B}/${KERNEL_OUTPUT_DIR}/$type.initramfs 
${D}/boot/$type-initramfs-${MACHINE}.bin
-                       echo "${B}/${KERNEL_OUTPUT_DIR}/$type.initramfs"
-               done
        fi
 }
 do_bundle_initramfs[dirs] = "${B}"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]