summaryrefslogtreecommitdiffstats
path: root/meta/classes/bootimg.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/bootimg.bbclass')
-rw-r--r--meta/classes/bootimg.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/bootimg.bbclass b/meta/classes/bootimg.bbclass
index df3ee7315a..e65bef7cca 100644
--- a/meta/classes/bootimg.bbclass
+++ b/meta/classes/bootimg.bbclass
@@ -133,7 +133,7 @@ build_hddimg() {
133 SECTORS=$(expr $SECTORS + $(expr $DIR_SECTORS + $FAT_SECTORS)) 133 SECTORS=$(expr $SECTORS + $(expr $DIR_SECTORS + $FAT_SECTORS))
134 134
135 # Determine the final size in blocks accounting for some padding 135 # Determine the final size in blocks accounting for some padding
136 BLOCKS=$(expr $(expr $SECTORS \* 2) + ${BOOTIMG_EXTRA_SPACE}) 136 BLOCKS=$(expr $(expr $SECTORS / 2) + ${BOOTIMG_EXTRA_SPACE})
137 137
138 # Ensure total sectors is an integral number of sectors per 138 # Ensure total sectors is an integral number of sectors per
139 # track or mcopy will complain. Sectors are 512 bytes, and we 139 # track or mcopy will complain. Sectors are 512 bytes, and we