diff options
-rw-r--r-- | classes/image_dd.bbclass | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/classes/image_dd.bbclass b/classes/image_dd.bbclass index e0addf7..e05536b 100644 --- a/classes/image_dd.bbclass +++ b/classes/image_dd.bbclass | |||
@@ -73,6 +73,7 @@ IMAGE_CMD_dd() { | |||
73 | # Create boot partition image | 73 | # Create boot partition image |
74 | BOOT_BLOCKS=$(LC_ALL=C parted -s ${IMAGE} unit b print \ | 74 | BOOT_BLOCKS=$(LC_ALL=C parted -s ${IMAGE} unit b print \ |
75 | | awk '/ 1 / { print substr($4, 1, length($4 -1)) / 1024 }') | 75 | | awk '/ 1 / { print substr($4, 1, length($4 -1)) / 1024 }') |
76 | rm -f ${WORKDIR}/boot.img | ||
76 | mkfs.vfat -n "${BOOTDD_VOLUME_ID}" -S 512 -C ${WORKDIR}/boot.img $BOOT_BLOCKS | 77 | mkfs.vfat -n "${BOOTDD_VOLUME_ID}" -S 512 -C ${WORKDIR}/boot.img $BOOT_BLOCKS |
77 | do_populate_boot | 78 | do_populate_boot |
78 | 79 | ||