diff options
| author | Jussi Kukkonen <jussi.kukkonen@intel.com> | 2016-06-02 13:49:33 +0300 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-06-03 13:13:30 +0100 |
| commit | 469e56b1a7c8da38cb4c572c5609c86b8c9768dd (patch) | |
| tree | a9d0679ea912541b89a24e4f308496d0a4405f07 /scripts/lib/wic/plugins/source/isoimage-isohybrid.py | |
| parent | 48bc62378a3705730f376ca03c2d6efe7a98d924 (diff) | |
| download | poky-469e56b1a7c8da38cb4c572c5609c86b8c9768dd.tar.gz | |
image-live, image-vm, wic: Remove fs size workaround
Since mtools has been patched to live with filesystems with sizes
not divisible by sectors-per-track, we no longer need to try to
set the size based on our guess of the sectors-per-track dosfstools is
going to use.
(From OE-Core rev: 334e32af88b310ff1ed950d127a6dedeb460f8d0)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/wic/plugins/source/isoimage-isohybrid.py')
| -rw-r--r-- | scripts/lib/wic/plugins/source/isoimage-isohybrid.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/scripts/lib/wic/plugins/source/isoimage-isohybrid.py b/scripts/lib/wic/plugins/source/isoimage-isohybrid.py index ed59d85962..3858fd439b 100644 --- a/scripts/lib/wic/plugins/source/isoimage-isohybrid.py +++ b/scripts/lib/wic/plugins/source/isoimage-isohybrid.py | |||
| @@ -441,12 +441,6 @@ class IsoImagePlugin(SourcePlugin): | |||
| 441 | % (part.mountpoint, blocks) | 441 | % (part.mountpoint, blocks) |
| 442 | msger.debug(msg) | 442 | msger.debug(msg) |
| 443 | 443 | ||
| 444 | # Ensure total sectors is an integral number of sectors per | ||
| 445 | # track or mcopy will complain. Sectors are 512 bytes, and we | ||
| 446 | # generate images with 32 sectors per track. This calculation is | ||
| 447 | # done in blocks, thus the mod by 16 instead of 32. | ||
| 448 | blocks += (16 - (blocks % 16)) | ||
| 449 | |||
| 450 | # dosfs image for EFI boot | 444 | # dosfs image for EFI boot |
| 451 | bootimg = "%s/efi.img" % isodir | 445 | bootimg = "%s/efi.img" % isodir |
| 452 | 446 | ||
