]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.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>
Wed, 11 Jan 2017 17:21:44 +0000 (17:21 +0000)
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)

(From OE-Core rev: 6a4e09b295d760654fd43897841c014d50f109ab)

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>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/kernel.bbclass

index 634553cddc7e534a90e93db6ea503c0ded494d91..b21cdbccb71ffb587c201a9ad1ecd09c9ca86a3b 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}"