From fb72cf86c268064f0a5a7a8cea5749de466c3dd4 Mon Sep 17 00:00:00 2001 From: Andrei Gherzan Date: Tue, 10 Jul 2012 10:49:15 +0300 Subject: sdcard_image-rpi: Use ${KERNEL_IMAGETYPE}-${MACHINE} as kernel source from deploy dir ${KERNEL_IMAGETYPE} symlink was introduced after denzil so we use ${KERNEL_IMAGETYPE}-${MACHINE} to be able to satisfy the existence in denzil and master as well. Signed-off-by: Andrei Gherzan --- classes/sdcard_image-rpi.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/sdcard_image-rpi.bbclass b/classes/sdcard_image-rpi.bbclass index 6d08020..f4d777e 100644 --- a/classes/sdcard_image-rpi.bbclass +++ b/classes/sdcard_image-rpi.bbclass @@ -77,7 +77,7 @@ IMAGE_CMD_rpi-sdimg () { # of the rootfs mcopy -i ${WORKDIR}/boot.img -s ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles/bootcode.bin :: mcopy -i ${WORKDIR}/boot.img -s ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles/loader.bin :: - mcopy -i ${WORKDIR}/boot.img -s ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE} ::kernel.img + mcopy -i ${WORKDIR}/boot.img -s ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${MACHINE}.bin ::kernel.img if [ -n ${FATPAYLOAD} ] ; then echo "Copying payload into VFAT" -- cgit v1.2.3-54-g00ecf