summaryrefslogtreecommitdiffstats
path: root/meta/classes/kernel.bbclass
diff options
context:
space:
mode:
authorManjukumar Matha <manjukumar.harthikote-matha@xilinx.com>2019-01-03 08:53:22 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-01-07 10:54:13 +0000
commit6a080d90e5001bde30e8a1ade68a02bcd8a29df3 (patch)
tree4cfbf6c8dd849c7984c89bab1305074ead46422d /meta/classes/kernel.bbclass
parentcaf55cf9b4be08693c561824fd8d8835617c4c06 (diff)
downloadpoky-6a080d90e5001bde30e8a1ade68a02bcd8a29df3.tar.gz
kernel.bbclass: Fix incorrect deploying of fitimage.initramfs
When kernel-fitimage and initramfs is enabled using INITRAMFS_IMAGE_BUNDLE = "1", kernel do_deploy tries to deploy fitImage.initramfs with following error | install: cannot stat 'arch/arm64/boot/fitImage.initramfs': No such file or directory Skip deploying fitimage.initramfs, since fitimage does not create fitimage.initramfs (From OE-Core rev: 0f87f8522a2c1b5a7042738887952b98060fbd9d) Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/kernel.bbclass')
-rw-r--r--meta/classes/kernel.bbclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index 2e4ed8d3af..45cb4fabc1 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -682,6 +682,9 @@ kernel_do_deploy() {
682 682
683 if [ ! -z "${INITRAMFS_IMAGE}" -a x"${INITRAMFS_IMAGE_BUNDLE}" = x1 ]; then 683 if [ ! -z "${INITRAMFS_IMAGE}" -a x"${INITRAMFS_IMAGE_BUNDLE}" = x1 ]; then
684 for imageType in ${KERNEL_IMAGETYPES} ; do 684 for imageType in ${KERNEL_IMAGETYPES} ; do
685 if [ "$imageType" = "fitImage" ] ; then
686 continue
687 fi
685 initramfs_base_name=${imageType}-${INITRAMFS_NAME} 688 initramfs_base_name=${imageType}-${INITRAMFS_NAME}
686 initramfs_symlink_name=${imageType}-${INITRAMFS_LINK_NAME} 689 initramfs_symlink_name=${imageType}-${INITRAMFS_LINK_NAME}
687 install -m 0644 ${KERNEL_OUTPUT_DIR}/${imageType}.initramfs $deployDir/${initramfs_base_name}.bin 690 install -m 0644 ${KERNEL_OUTPUT_DIR}/${imageType}.initramfs $deployDir/${initramfs_base_name}.bin