]> code.ossystems Code Review - openembedded-core.git/commitdiff
kernel.bbclass: do not copy bundled initramfs to /boot
authorAndreas Oberritter <obi@opendreambox.org>
Wed, 30 Nov 2016 23:36:50 +0000 (00:36 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 8 Dec 2016 10:26:12 +0000 (10:26 +0000)
These files cause warnings because they don't get packaged, now that they
don't land in kernel-vmlinux anymore.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/kernel.bbclass

index abf9d6567ea3971d6d96283a772e01dcd2a7a55c..558734676716b07a3c2fb0920d53bd6affd87947 100644 (file)
@@ -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}"