]> code.ossystems Code Review - openembedded-core.git/commit
wic: make sure that partition size is always an integer in internal processing
authorMaciej Borzecki <maciej.borzecki@rndity.com>
Thu, 10 Nov 2016 12:18:32 +0000 (13:18 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 15 Nov 2016 15:18:50 +0000 (15:18 +0000)
commita37838f995ae642b0b8bdd47a605a264fb3bf200
tree4f98ecce4948ba561089a898d441edf82fc4a937
parent8689e5618d45c2119134ea64754430c06a93ea09
wic: make sure that partition size is always an integer in internal processing

The size field of Partition class is expected to be an integer and ought
to be set inside prepare_*() method. Make sure that this is always the
case.

Signed-off-by: Maciej Borzecki <maciej.borzecki@rndity.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
scripts/lib/wic/partition.py
scripts/lib/wic/plugins/source/bootimg-efi.py
scripts/lib/wic/plugins/source/rawcopy.py