diff options
author | Tom Zanussi <tom.zanussi@linux.intel.com> | 2014-02-07 16:19:28 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-02-09 09:40:01 +0000 |
commit | df634f3b1e02aa18f84b4b74f13c7260a21691aa (patch) | |
tree | 2c8d06bbf3ff8c7f892f803c67db6b8419d3a69c /scripts/lib/mic/utils/oe/misc.py | |
parent | 8d008aa840a4086ca6b6a17af926c7c601bd5dd9 (diff) | |
download | poky-df634f3b1e02aa18f84b4b74f13c7260a21691aa.tar.gz |
wic: Honor --size for --source partititions
Instead of simply creating partitions large enough to contain the
contents of a --source partition (and adding a pre-specified amount of
padding), use the --size used in the partition .wks statement.
If --size isn't used, or is smaller than the actual --source size,
retain the current behavior.
(From OE-Core rev: 23b6c5ea4d48cdf731e5202991961a0e4b10ff29)
Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/mic/utils/oe/misc.py')
-rw-r--r-- | scripts/lib/mic/utils/oe/misc.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/lib/mic/utils/oe/misc.py b/scripts/lib/mic/utils/oe/misc.py index 77dfe03630..6b01955a88 100644 --- a/scripts/lib/mic/utils/oe/misc.py +++ b/scripts/lib/mic/utils/oe/misc.py | |||
@@ -108,6 +108,7 @@ def add_wks_var(key, val): | |||
108 | wks_vars[key] = val | 108 | wks_vars[key] = val |
109 | 109 | ||
110 | BOOTDD_EXTRA_SPACE = 16384 | 110 | BOOTDD_EXTRA_SPACE = 16384 |
111 | IMAGE_EXTRA_SPACE = 10240 | ||
111 | 112 | ||
112 | __bitbake_env_lines = "" | 113 | __bitbake_env_lines = "" |
113 | 114 | ||