summaryrefslogtreecommitdiffstats
path: root/scripts/lib/wic/plugins/source/bootimg-efi.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/lib/wic/plugins/source/bootimg-efi.py')
-rw-r--r--scripts/lib/wic/plugins/source/bootimg-efi.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/scripts/lib/wic/plugins/source/bootimg-efi.py b/scripts/lib/wic/plugins/source/bootimg-efi.py
index ec13f6d2e5..3a16861204 100644
--- a/scripts/lib/wic/plugins/source/bootimg-efi.py
+++ b/scripts/lib/wic/plugins/source/bootimg-efi.py
@@ -216,12 +216,6 @@ class BootimgEFIPlugin(SourcePlugin):
216 msger.debug("Added %d extra blocks to %s to get to %d total blocks" % \ 216 msger.debug("Added %d extra blocks to %s to get to %d total blocks" % \
217 (extra_blocks, part.mountpoint, blocks)) 217 (extra_blocks, part.mountpoint, blocks))
218 218
219 # Ensure total sectors is an integral number of sectors per
220 # track or mcopy will complain. Sectors are 512 bytes, and we
221 # generate images with 32 sectors per track. This calculation is
222 # done in blocks, thus the mod by 16 instead of 32.
223 blocks += (16 - (blocks % 16))
224
225 # dosfs image, created by mkdosfs 219 # dosfs image, created by mkdosfs
226 bootimg = "%s/boot.img" % cr_workdir 220 bootimg = "%s/boot.img" % cr_workdir
227 221