summaryrefslogtreecommitdiff
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:35 +0000
commit20fe0c7202724187dbe80eb2101d8ef69e86b94e (patch)
tree1799618d3fc40bc4d667db6f14d82b1ece673d24 /scripts/lib/image
parent9f7fe71a10bcdd1864d2f838f3510e96810ef42e (diff)
downloadopenembedded-core-20fe0c7202724187dbe80eb2101d8ef69e86b94e.tar.gz
openembedded-core-20fe0c7202724187dbe80eb2101d8ef69e86b94e.tar.bz2
openembedded-core-20fe0c7202724187dbe80eb2101d8ef69e86b94e.zip
wic: allow to configure overhead factor per partition
Introduce a new option --overhead-factor to replace IMAGE_OVERHEAD_FACTOR. Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
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 8e026986aa..e1eb265979 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