summaryrefslogtreecommitdiffstats
path: root/meta/classes/image-vm.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/image-vm.bbclass')
-rw-r--r--meta/classes/image-vm.bbclass6
1 files changed, 0 insertions, 6 deletions
diff --git a/meta/classes/image-vm.bbclass b/meta/classes/image-vm.bbclass
index 2bbd9d3671..72f7b4b101 100644
--- a/meta/classes/image-vm.bbclass
+++ b/meta/classes/image-vm.bbclass
@@ -66,12 +66,6 @@ build_boot_dd() {
66 BLOCKS=`du -bks $HDDDIR | cut -f 1` 66 BLOCKS=`du -bks $HDDDIR | cut -f 1`
67 BLOCKS=`expr $BLOCKS + ${BOOTDD_EXTRA_SPACE}` 67 BLOCKS=`expr $BLOCKS + ${BOOTDD_EXTRA_SPACE}`
68 68
69 # Ensure total sectors is an integral number of sectors per
70 # track or mcopy will complain. Sectors are 512 bytes, and we
71 # generate images with 32 sectors per track. This calculation is
72 # done in blocks, thus the mod by 16 instead of 32.
73 BLOCKS=$(expr $BLOCKS + $(expr 16 - $(expr $BLOCKS % 16)))
74
75 # Remove it since mkdosfs would fail when it exists 69 # Remove it since mkdosfs would fail when it exists
76 rm -f $HDDIMG 70 rm -f $HDDIMG
77 mkdosfs -n ${BOOTDD_VOLUME_ID} -S 512 -C $HDDIMG $BLOCKS 71 mkdosfs -n ${BOOTDD_VOLUME_ID} -S 512 -C $HDDIMG $BLOCKS