summaryrefslogtreecommitdiffstats
path: root/scripts/lib/wic/plugins/source/bootimg-pcbios.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/lib/wic/plugins/source/bootimg-pcbios.py')
-rw-r--r--scripts/lib/wic/plugins/source/bootimg-pcbios.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/scripts/lib/wic/plugins/source/bootimg-pcbios.py b/scripts/lib/wic/plugins/source/bootimg-pcbios.py
index 5b719bf3bb..f204daa323 100644
--- a/scripts/lib/wic/plugins/source/bootimg-pcbios.py
+++ b/scripts/lib/wic/plugins/source/bootimg-pcbios.py
@@ -179,12 +179,6 @@ class BootimgPcbiosPlugin(SourcePlugin):
179 msger.debug("Added %d extra blocks to %s to get to %d total blocks" % \ 179 msger.debug("Added %d extra blocks to %s to get to %d total blocks" % \
180 (extra_blocks, part.mountpoint, blocks)) 180 (extra_blocks, part.mountpoint, blocks))
181 181
182 # Ensure total sectors is an integral number of sectors per
183 # track or mcopy will complain. Sectors are 512 bytes, and we
184 # generate images with 32 sectors per track. This calculation is
185 # done in blocks, thus the mod by 16 instead of 32.
186 blocks += (16 - (blocks % 16))
187
188 # dosfs image, created by mkdosfs 182 # dosfs image, created by mkdosfs
189 bootimg = "%s/boot.img" % cr_workdir 183 bootimg = "%s/boot.img" % cr_workdir
190 184