generic-poky/scripts/lib/wic
Maciej Borzecki 6b19a93f38 wic: fix extended/logical partition layout
The patch fixes an issue in laying out extended and logical partitions
by wic. The original code produced disk images in which the size 3rd
partition as described in MBR was incorrect. Depending on the type of
file system used for that partition and size of the partition, it would
be impossible to mount the partition correctly. For instance, kickstart
file in which the 3rd partition had size of 1GB and used ext4 fs, would
result in an image with an umountable partition. The root cause is
reservation of sectors for EBR through stealing of last sector from the
last primary partition.

(From OE-Core rev: a8b85f7878726503dbfa2e9ea86bd6fd961bf03b)

Signed-off-by: Maciej Borzecki <maciej.borzecki@open-rnd.pl>
Signed-off-by: Maciek Borzecki <maciek.borzecki@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-02-08 08:00:24 +00:00
..
3rdparty/pykickstart wic: Completely remove all urlgrabber references 2014-09-10 11:33:25 +01:00
imager wic: account for mmcblk device partition naming 2014-12-25 08:18:13 +00:00
kickstart scripts: use '/usr/bin/env' in shebangs with python 2014-11-12 15:38:29 +00:00
plugins wic: add globbing support in IMAGE_BOOT_FILES entries 2014-12-19 18:08:02 +00:00
utils wic: fix extended/logical partition layout 2015-02-08 08:00:24 +00:00
__init__.py wic: Rename /mic to /wic 2014-08-11 10:53:12 +01:00
__version__.py wic: Bump the version to 2.0 2014-08-11 10:53:12 +01:00
conf.py scripts: use '/usr/bin/env' in shebangs with python 2014-11-12 15:38:29 +00:00
creator.py scripts: use '/usr/bin/env' in shebangs with python 2014-11-12 15:38:29 +00:00
msger.py scripts: use '/usr/bin/env' in shebangs with python 2014-11-12 15:38:29 +00:00
plugin.py scripts: use '/usr/bin/env' in shebangs with python 2014-11-12 15:38:29 +00:00
pluginbase.py scripts: use '/usr/bin/env' in shebangs with python 2014-11-12 15:38:29 +00:00
test wic: Rename /mic to /wic 2014-08-11 10:53:12 +01:00