]> 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>
Wed, 11 Jan 2017 11:46:41 +0000 (11:46 +0000)
commit4e869343952aef8748b40e538c14ad8b94221910
tree6f5ce57c4c7311f0036b0d1f66879a5465ae0c72
parent0c6928f4129e5b1e24fa2d42279353e9d15d39f0
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.

(From OE-Core rev: a37838f995ae642b0b8bdd47a605a264fb3bf200)

Signed-off-by: Maciej Borzecki <maciej.borzecki@rndity.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
scripts/lib/wic/partition.py
scripts/lib/wic/plugins/source/bootimg-efi.py
scripts/lib/wic/plugins/source/rawcopy.py