diff options
Diffstat (limited to 'meta/classes/image-live.bbclass')
| -rw-r--r-- | meta/classes/image-live.bbclass | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/meta/classes/image-live.bbclass b/meta/classes/image-live.bbclass index ea6ced2dcb..f0e6647ac1 100644 --- a/meta/classes/image-live.bbclass +++ b/meta/classes/image-live.bbclass | |||
| @@ -202,12 +202,6 @@ build_fat_img() { | |||
| 202 | # Determine the final size in blocks accounting for some padding | 202 | # Determine the final size in blocks accounting for some padding |
| 203 | BLOCKS=$(expr $(expr $SECTORS / 2) + ${BOOTIMG_EXTRA_SPACE}) | 203 | BLOCKS=$(expr $(expr $SECTORS / 2) + ${BOOTIMG_EXTRA_SPACE}) |
| 204 | 204 | ||
| 205 | # Ensure total sectors is an integral number of sectors per | ||
| 206 | # track or mcopy will complain. Sectors are 512 bytes, and we | ||
| 207 | # generate images with 32 sectors per track. This calculation is | ||
| 208 | # done in blocks, thus the mod by 16 instead of 32. | ||
| 209 | BLOCKS=$(expr $BLOCKS + $(expr 16 - $(expr $BLOCKS % 16))) | ||
| 210 | |||
| 211 | # mkdosfs will sometimes use FAT16 when it is not appropriate, | 205 | # mkdosfs will sometimes use FAT16 when it is not appropriate, |
| 212 | # resulting in a boot failure from SYSLINUX. Use FAT32 for | 206 | # resulting in a boot failure from SYSLINUX. Use FAT32 for |
| 213 | # images larger than 512MB, otherwise let mkdosfs decide. | 207 | # images larger than 512MB, otherwise let mkdosfs decide. |
