]> code.ossystems Code Review - openembedded-core.git/commit
wic: add --fixed-size wks option
authorMaciej Borzecki <maciej.borzecki@rndity.com>
Mon, 19 Dec 2016 11:20:58 +0000 (12:20 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 22 Dec 2016 08:46:36 +0000 (08:46 +0000)
commitfdd217ba874bd480e0180830fe2e6bd54dde19d9
treea116d8e3c27fee3d7faca8b9acc0194858851f72
parentf2a04631949db72d4261d1c142c5044fad3741f9
wic: add --fixed-size wks option

Added new option --fixed-size to wks. The option can be used to indicate
the exact size of a partition. The option cannot be added together with
--size, in which case an error will be raised. Other options that
influence automatic partition size (--extra-space, --overhead-factor),
if specifiec along with --fixed-size, will raise an error.

If it partition data is larger than the amount of space specified with
--fixed-size option wic will raise an error.

Signed-off-by: Maciej Borzecki <maciej.borzecki@rndity.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
scripts/lib/wic/help.py
scripts/lib/wic/imager/direct.py
scripts/lib/wic/ksparser.py
scripts/lib/wic/partition.py
scripts/lib/wic/utils/partitionedfs.py