summaryrefslogtreecommitdiffstats
path: root/scripts/lib/image
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>2015-02-09 00:16:23 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-02-14 08:40:58 +0000
commitcf3e21e71e6815b76d58d018719e8bf7ec977d7b (patch)
tree57f7e6b311fb8d624acfc6da2acf1e5d9496352b /scripts/lib/image
parentd84742c39f39fefb7810c6f902cada222c7e4252 (diff)
downloadast2050-yocto-poky-cf3e21e71e6815b76d58d018719e8bf7ec977d7b.zip
ast2050-yocto-poky-cf3e21e71e6815b76d58d018719e8bf7ec977d7b.tar.gz
wic: allow to configure overhead factor per partition
Introduce a new option --overhead-factor to replace IMAGE_OVERHEAD_FACTOR. (From OE-Core rev: 20fe0c7202724187dbe80eb2101d8ef69e86b94e) Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/image')
-rw-r--r--scripts/lib/image/help.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/lib/image/help.py b/scripts/lib/image/help.py
index 8e02698..e1eb265 100644
--- a/scripts/lib/image/help.py
+++ b/scripts/lib/image/help.py
@@ -749,6 +749,12 @@ DESCRIPTION
beyond the size specified by --size.
By default, 10MB.
+ --overhead-factor: This option is specific to wic. The
+ size of the partition is multiplied by
+ this factor. It has to be greater than or
+ equal to 1.
+ The default value is 1.3.
+
* bootloader
This command allows the user to specify various bootloader
OpenPOWER on IntegriCloud