Skip to contentSkip to conversation

kernel-fitimage.bbclass: Wrong binary was deployed for kernel-only FIT image.

PATCH New Leon Woestenberg 1 participant 1 message Sep 3, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kernel-fitimage.bbclass: Wrong binary was deployed for kernel-only FIT image.

The kernel-fitimage.bbclass always outputs one FIT image without initramfs. This variant did deploy the kernel image itself rather than the FIT image.

(The FIT with initramfs was correctly deployed.)

---
 meta/classes/kernel-fitimage.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/classes/kernel-fitimage.bbclass +1 -1
index 50a91e1..16499c8 100644
@@ -463,7 +463,7 @@ kernel_do_deploy_append() {
 		install -m 0644 fit-image.its ${DEPLOYDIR}/${its_base_name}.its
 		linux_bin_base_name="fitImage-linux.bin-${PV}-${PR}-${MACHINE}-${DATETIME}"
 		linux_bin_symlink_name=fitImage-linux.bin-${MACHINE}
-		install -m 0644 linux.bin ${DEPLOYDIR}/${linux_bin_base_name}.bin
+		install -m 0644 arch/${ARCH}/boot/fitImage ${DEPLOYDIR}/${linux_bin_base_name}.bin
 
 		if [ -n "${INITRAMFS_IMAGE}" ]; then
 			echo "Copying fit-image-${INITRAMFS_IMAGE}.its source file..."
Signature · 1 line
2.7.4