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.bbclass5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/classes/bootimg.bbclass b/meta/classes/bootimg.bbclass
index 489819b815..09f5b67c94 100644
--- a/meta/classes/bootimg.bbclass
+++ b/meta/classes/bootimg.bbclass
@@ -73,6 +73,9 @@ build_boot_bin() {
73 # Account for the filesystem overhead. This includes directory 73 # Account for the filesystem overhead. This includes directory
74 # entries in the clusters as well as the FAT itself. 74 # entries in the clusters as well as the FAT itself.
75 # Assumptions: 75 # Assumptions:
76 # FAT32 (12 or 16 may be selected by mkdosfs, but the extra
77 # padding will be minimal on those smaller images and not
78 # worth the logic here to caclulate the smaller FAT sizes)
76 # < 16 entries per directory 79 # < 16 entries per directory
77 # 8.3 filenames only 80 # 8.3 filenames only
78 81
@@ -102,7 +105,7 @@ build_boot_bin() {
102 BLOCKS=$(expr $BLOCKS + $(expr 16 - $(expr $BLOCKS % 16))) 105 BLOCKS=$(expr $BLOCKS + $(expr 16 - $(expr $BLOCKS % 16)))
103 106
104 IMG=${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.hddimg 107 IMG=${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.hddimg
105 mkdosfs -F 32 -n ${BOOTIMG_VOLUME_ID} -S 512 -C ${IMG} ${BLOCKS} 108 mkdosfs -n ${BOOTIMG_VOLUME_ID} -S 512 -C ${IMG} ${BLOCKS}
106 # Copy HDDDIR recursively into the image file directly 109 # Copy HDDDIR recursively into the image file directly
107 mcopy -i ${IMG} -s ${HDDDIR}/* ::/ 110 mcopy -i ${IMG} -s ${HDDDIR}/* ::/
108 111