sdcard_image bbclass: switch to vfat layout
authorKoen Kooi <koen@dominion.thruhere.net>
Tue, 8 Nov 2011 12:23:16 +0000 (13:23 +0100)
committerKoen Kooi <koen@dominion.thruhere.net>
Tue, 8 Nov 2011 12:23:16 +0000 (13:23 +0100)
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
classes/sdcard_image.bbclass

index 1737ed9fb5ab94b16fc602c099885c889337b269..1f8b2d764ab94d5a51dd3d8ad2304a80c5011907 100644 (file)
@@ -32,7 +32,7 @@ IMAGE_CMD_sdimg () {
        # sanity check fstab entry for boot partition mounting
        if [ "x$(cat /etc/fstab | grep ${LOOPDEV_BOOT} | grep ${WORKDIR}/tmp-mnt-boot | grep user || true)" = "x" ]; then
                echo "/etc/fstab entries need to be created with the user flag for the loop devices like:"
-               echo "${LOOPDEV_BOOT} ${WORKDIR}/tmp-mnt-boot msdos user 0 0"
+               echo "${LOOPDEV_BOOT} ${WORKDIR}/tmp-mnt-boot vfat user 0 0"
         false
        fi
 
@@ -71,7 +71,7 @@ IMAGE_CMD_sdimg () {
 
        ${LOSETUP} ${LOOPDEV_BOOT} ${SDIMG} -o ${BOOT_OFFSET} 
 
-       /sbin/mkfs.msdos ${LOOPDEV_BOOT} -n ${BOOTPARTNAME} $LOOPDEV_BLOCKS
+       /sbin/mkfs.vfat ${LOOPDEV_BOOT} -n ${BOOTPARTNAME} $LOOPDEV_BLOCKS
 
        # Prepare filesystem partition
        # Copy ubi used by flashing scripts