diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/bootimg.bbclass | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes/bootimg.bbclass b/meta/classes/bootimg.bbclass index c2d43c86ee..489819b815 100644 --- a/meta/classes/bootimg.bbclass +++ b/meta/classes/bootimg.bbclass | |||
@@ -92,7 +92,8 @@ build_boot_bin() { | |||
92 | SECTORS=$(expr $SECTORS + $(expr $DIR_SECTORS + $FAT_SECTORS)) | 92 | SECTORS=$(expr $SECTORS + $(expr $DIR_SECTORS + $FAT_SECTORS)) |
93 | 93 | ||
94 | # Determine the final size in blocks accounting for some padding | 94 | # Determine the final size in blocks accounting for some padding |
95 | BLOCKS=$(expr $(expr $SECTORS \* 2) + ${BOOTIMG_EXTRA_SPACE}) | 95 | BLOCKS=$(expr $(expr $SECTORS / 2) + ${BOOTIMG_EXTRA_SPACE}) |
96 | |||
96 | 97 | ||
97 | # Ensure total sectors is an integral number of sectors per | 98 | # Ensure total sectors is an integral number of sectors per |
98 | # track or mcopy will complain. Sectors are 512 bytes, and we | 99 | # track or mcopy will complain. Sectors are 512 bytes, and we |