summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Oberritter <obi@opendreambox.org>2016-12-01 00:36:50 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-12-08 10:31:30 +0000
commitfffc641a103f5421caa83a820d1703bcfa7a940b (patch)
tree28a74b7be88b61d0db6ca0eedb3063dfe21b57ea
parente02affce3c965b7aeb931e0334cb834c944c050c (diff)
downloadpoky-fffc641a103f5421caa83a820d1703bcfa7a940b.tar.gz
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>
-rw-r--r--meta/classes/kernel.bbclass6
1 files changed, 0 insertions, 6 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index abf9d6567e..5587346767 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -235,12 +235,6 @@ do_bundle_initramfs () {
235 mv -f ${KERNEL_OUTPUT_DIR}/$type.bak ${KERNEL_OUTPUT_DIR}/$type 235 mv -f ${KERNEL_OUTPUT_DIR}/$type.bak ${KERNEL_OUTPUT_DIR}/$type
236 fi 236 fi
237 done 237 done
238 # Update install area
239 for type in ${KERNEL_IMAGETYPES} ; do
240 echo "There is kernel image bundled with initramfs: ${B}/${KERNEL_OUTPUT_DIR}/$type.initramfs"
241 install -m 0644 ${B}/${KERNEL_OUTPUT_DIR}/$type.initramfs ${D}/boot/$type-initramfs-${MACHINE}.bin
242 echo "${B}/${KERNEL_OUTPUT_DIR}/$type.initramfs"
243 done
244 fi 238 fi
245} 239}
246do_bundle_initramfs[dirs] = "${B}" 240do_bundle_initramfs[dirs] = "${B}"