diff options
author | Andrei Gherzan <andrei@gherzan.ro> | 2012-07-10 10:49:15 +0300 |
---|---|---|
committer | Andrei Gherzan <andrei@gherzan.ro> | 2012-07-10 11:57:05 +0300 |
commit | 7b8df5061307dbc7b784a7006796d23fb753843b (patch) | |
tree | 8c9d011b2d878172368748d32d374b290e9eeafe /classes | |
parent | b3a0db27f6648e7c462159275b6923fcb2097a10 (diff) | |
download | meta-raspberrypi-7b8df5061307dbc7b784a7006796d23fb753843b.tar.gz |
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 <andrei@gherzan.ro>
Diffstat (limited to 'classes')
-rw-r--r-- | classes/sdcard_image-rpi.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
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 () { | |||
77 | # of the rootfs | 77 | # of the rootfs |
78 | mcopy -i ${WORKDIR}/boot.img -s ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles/bootcode.bin :: | 78 | mcopy -i ${WORKDIR}/boot.img -s ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles/bootcode.bin :: |
79 | mcopy -i ${WORKDIR}/boot.img -s ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles/loader.bin :: | 79 | mcopy -i ${WORKDIR}/boot.img -s ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles/loader.bin :: |
80 | mcopy -i ${WORKDIR}/boot.img -s ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE} ::kernel.img | 80 | mcopy -i ${WORKDIR}/boot.img -s ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${MACHINE}.bin ::kernel.img |
81 | 81 | ||
82 | if [ -n ${FATPAYLOAD} ] ; then | 82 | if [ -n ${FATPAYLOAD} ] ; then |
83 | echo "Copying payload into VFAT" | 83 | echo "Copying payload into VFAT" |