summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKoen Kooi <koen@dominion.thruhere.net>2011-11-08 13:23:16 +0100
committerKoen Kooi <koen@dominion.thruhere.net>2011-11-08 13:23:16 +0100
commit116a42e5048e0c6d70bd0901cd1e3e956aab7d55 (patch)
tree5f75a3d807c92ffbb6d8f9bad0cb686296839ba4
parent424830eb541e48eb2d898cfe48ba3c59e279cc94 (diff)
downloadmeta-ti-116a42e5048e0c6d70bd0901cd1e3e956aab7d55.tar.gz
sdcard_image bbclass: switch to vfat layout
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
-rw-r--r--classes/sdcard_image.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/sdcard_image.bbclass b/classes/sdcard_image.bbclass
index 1737ed9f..1f8b2d76 100644
--- a/classes/sdcard_image.bbclass
+++ b/classes/sdcard_image.bbclass
@@ -32,7 +32,7 @@ IMAGE_CMD_sdimg () {
32 # sanity check fstab entry for boot partition mounting 32 # sanity check fstab entry for boot partition mounting
33 if [ "x$(cat /etc/fstab | grep ${LOOPDEV_BOOT} | grep ${WORKDIR}/tmp-mnt-boot | grep user || true)" = "x" ]; then 33 if [ "x$(cat /etc/fstab | grep ${LOOPDEV_BOOT} | grep ${WORKDIR}/tmp-mnt-boot | grep user || true)" = "x" ]; then
34 echo "/etc/fstab entries need to be created with the user flag for the loop devices like:" 34 echo "/etc/fstab entries need to be created with the user flag for the loop devices like:"
35 echo "${LOOPDEV_BOOT} ${WORKDIR}/tmp-mnt-boot msdos user 0 0" 35 echo "${LOOPDEV_BOOT} ${WORKDIR}/tmp-mnt-boot vfat user 0 0"
36 false 36 false
37 fi 37 fi
38 38
@@ -71,7 +71,7 @@ IMAGE_CMD_sdimg () {
71 71
72 ${LOSETUP} ${LOOPDEV_BOOT} ${SDIMG} -o ${BOOT_OFFSET} 72 ${LOSETUP} ${LOOPDEV_BOOT} ${SDIMG} -o ${BOOT_OFFSET}
73 73
74 /sbin/mkfs.msdos ${LOOPDEV_BOOT} -n ${BOOTPARTNAME} $LOOPDEV_BLOCKS 74 /sbin/mkfs.vfat ${LOOPDEV_BOOT} -n ${BOOTPARTNAME} $LOOPDEV_BLOCKS
75 75
76 # Prepare filesystem partition 76 # Prepare filesystem partition
77 # Copy ubi used by flashing scripts 77 # Copy ubi used by flashing scripts