diff options
author | Richard Osterloh <richard.osterloh@gmail.com> | 2019-02-14 12:44:33 +0000 |
---|---|---|
committer | Andrei Gherzan <andrei@gherzan.ro> | 2019-02-19 13:41:28 +0000 |
commit | ba54962bcee3dc6064961d378790e532688c31e7 (patch) | |
tree | 41022a43adb44d5c23a5f71ed4c17a6363157cd8 | |
parent | 6305aa7b693fb3423bd40921144666dadd7185b8 (diff) | |
download | meta-raspberrypi-ba54962bcee3dc6064961d378790e532688c31e7.tar.gz |
sdcard_image-rpi: Format boot partition as FAT32
Closes: #382
Signed-off-by: Richard Osterloh <richard.osterloh@gmail.com>
-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 62fb491..538803d 100644 --- a/classes/sdcard_image-rpi.bbclass +++ b/classes/sdcard_image-rpi.bbclass | |||
@@ -111,7 +111,7 @@ IMAGE_CMD_rpi-sdimg () { | |||
111 | # Create a vfat image with boot files | 111 | # Create a vfat image with boot files |
112 | BOOT_BLOCKS=$(LC_ALL=C parted -s ${SDIMG} unit b print | awk '/ 1 / { print substr($4, 1, length($4 -1)) / 512 /2 }') | 112 | BOOT_BLOCKS=$(LC_ALL=C parted -s ${SDIMG} unit b print | awk '/ 1 / { print substr($4, 1, length($4 -1)) / 512 /2 }') |
113 | rm -f ${WORKDIR}/boot.img | 113 | rm -f ${WORKDIR}/boot.img |
114 | mkfs.vfat -n "${BOOTDD_VOLUME_ID}" -S 512 -C ${WORKDIR}/boot.img $BOOT_BLOCKS | 114 | mkfs.vfat -F32 -n "${BOOTDD_VOLUME_ID}" -S 512 -C ${WORKDIR}/boot.img $BOOT_BLOCKS |
115 | mcopy -i ${WORKDIR}/boot.img -s ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles/* ::/ | 115 | mcopy -i ${WORKDIR}/boot.img -s ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles/* ::/ |
116 | if test -n "${DTS}"; then | 116 | if test -n "${DTS}"; then |
117 | # Copy board device trees to root folder | 117 | # Copy board device trees to root folder |