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 e65bef7cca..a717600cf9 100644
--- a/meta/classes/bootimg.bbclass
+++ b/meta/classes/bootimg.bbclass
@@ -114,6 +114,9 @@ build_hddimg() {
114 # Account for the filesystem overhead. This includes directory 114 # Account for the filesystem overhead. This includes directory
115 # entries in the clusters as well as the FAT itself. 115 # entries in the clusters as well as the FAT itself.
116 # Assumptions: 116 # Assumptions:
117 # FAT32 (12 or 16 may be selected by mkdosfs, but the extra
118 # padding will be minimal on those smaller images and not
119 # worth the logic here to caclulate the smaller FAT sizes)
117 # < 16 entries per directory 120 # < 16 entries per directory
118 # 8.3 filenames only 121 # 8.3 filenames only
119 122
@@ -142,7 +145,7 @@ build_hddimg() {
142 BLOCKS=$(expr $BLOCKS + $(expr 16 - $(expr $BLOCKS % 16))) 145 BLOCKS=$(expr $BLOCKS + $(expr 16 - $(expr $BLOCKS % 16)))
143 146
144 IMG=${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.hddimg 147 IMG=${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.hddimg
145 mkdosfs -F 32 -n ${BOOTIMG_VOLUME_ID} -S 512 -C ${IMG} ${BLOCKS} 148 mkdosfs -n ${BOOTIMG_VOLUME_ID} -S 512 -C ${IMG} ${BLOCKS}
146 # Copy HDDDIR recursively into the image file directly 149 # Copy HDDDIR recursively into the image file directly
147 mcopy -i ${IMG} -s ${HDDDIR}/* ::/ 150 mcopy -i ${IMG} -s ${HDDDIR}/* ::/
148 151