sdcard_image bblass: all machines load from ext2/ext3 now, remove uImage copying
authorKoen Kooi <koen@dominion.thruhere.net>
Thu, 13 Oct 2011 10:38:17 +0000 (12:38 +0200)
committerKoen Kooi <koen@dominion.thruhere.net>
Thu, 13 Oct 2011 10:38:17 +0000 (12:38 +0200)
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
classes/sdcard_image.bbclass

index 7ab565a609ad3dcd9c1600dd05cfe4f547892064..9aed4f846b40391772206f373d9881961c0faf47 100644 (file)
@@ -91,13 +91,6 @@ IMAGE_CMD_sdimg () {
                cp -v ${DEPLOY_DIR_IMAGE}/u-boot-${MACHINE}.$suffix ${WORKDIR}/tmp-mnt-boot/u-boot.$suffix 
        fi
 
-       # Deprecated, u-boot should load it from ext3 instead
-       if [ -e ${IMAGE_ROOTFS}/boot/uImage ] ; then
-               cp -v ${IMAGE_ROOTFS}/boot/uImage ${WORKDIR}/tmp-mnt-boot
-       else
-               cp -v ${DEPLOY_DIR_IMAGE}/uImage-${MACHINE}.bin ${WORKDIR}/tmp-mnt-boot/uImage
-       fi
-
        # Cleanup VFAT mount
        echo "Cleaning up VFAT mount"
        umount ${WORKDIR}/tmp-mnt-boot