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 18:16:40 +0000 |
| commit | 2b3693ea3a871619624ee8ebf1ad946915eb1aa8 (patch) | |
| tree | 4084c3989207d57d1513077c04af416c0f69d488 /classes/sdcard_image-rpi.bbclass | |
| parent | 1bf03aef0949afb306cc62826eae511d1c241d7e (diff) | |
| download | meta-raspberrypi-2b3693ea3a871619624ee8ebf1ad946915eb1aa8.tar.gz | |
sdcard_image-rpi: Format boot partition as FAT32
Closes: #382
Signed-off-by: Richard Osterloh <richard.osterloh@gmail.com>
Diffstat (limited to 'classes/sdcard_image-rpi.bbclass')
| -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 6244ee5..d63a240 100644 --- a/classes/sdcard_image-rpi.bbclass +++ b/classes/sdcard_image-rpi.bbclass | |||
| @@ -118,7 +118,7 @@ IMAGE_CMD_rpi-sdimg () { | |||
| 118 | # Create a vfat image with boot files | 118 | # Create a vfat image with boot files |
| 119 | BOOT_BLOCKS=$(LC_ALL=C parted -s ${SDIMG} unit b print | awk '/ 1 / { print substr($4, 1, length($4 -1)) / 512 /2 }') | 119 | BOOT_BLOCKS=$(LC_ALL=C parted -s ${SDIMG} unit b print | awk '/ 1 / { print substr($4, 1, length($4 -1)) / 512 /2 }') |
| 120 | rm -f ${WORKDIR}/boot.img | 120 | rm -f ${WORKDIR}/boot.img |
| 121 | mkfs.vfat -n "${BOOTDD_VOLUME_ID}" -S 512 -C ${WORKDIR}/boot.img $BOOT_BLOCKS | 121 | mkfs.vfat -F32 -n "${BOOTDD_VOLUME_ID}" -S 512 -C ${WORKDIR}/boot.img $BOOT_BLOCKS |
| 122 | mcopy -i ${WORKDIR}/boot.img -s ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles/* ::/ | 122 | mcopy -i ${WORKDIR}/boot.img -s ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles/* ::/ |
| 123 | if test -n "${DTS}"; then | 123 | if test -n "${DTS}"; then |
| 124 | # Copy board device trees to root folder | 124 | # Copy board device trees to root folder |
