diff options
author | Maciej Borzecki <maciej.borzecki@open-rnd.pl> | 2014-09-22 13:35:14 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-09-23 20:35:55 +0100 |
commit | 0b3f47761668d119d36f42afd02cf863a258bbd8 (patch) | |
tree | 707855715072aec79fae4167087c52ab94d03b10 /scripts | |
parent | c94d8e93dbbee41a44d028f36b4b1804966076f9 (diff) | |
download | poky-0b3f47761668d119d36f42afd02cf863a258bbd8.tar.gz |
wic: use IMAGE_EXTRA_SPACE for vfat rootfs
Functions for generating rootfs use IMAGE_EXTRA_SPACE rather than
BOOTDD_EXTRA_SPACE. The latter is used in boot image source plugins.
(From OE-Core rev: 44abf447f8e4ed11cbbe53a4fb0ecf10a20f0f9e)
Signed-off-by: Maciej Borzecki <maciej.borzecki@open-rnd.pl>
Signed-off-by: Maciek Borzecki <maciek.borzecki@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/lib/wic/kickstart/custom_commands/partition.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/lib/wic/kickstart/custom_commands/partition.py b/scripts/lib/wic/kickstart/custom_commands/partition.py index 0b021729ef..f41d136d8f 100644 --- a/scripts/lib/wic/kickstart/custom_commands/partition.py +++ b/scripts/lib/wic/kickstart/custom_commands/partition.py | |||
@@ -308,8 +308,8 @@ class Wic_PartData(Mic_PartData): | |||
308 | 308 | ||
309 | extra_blocks = self.get_extra_block_count(blocks) | 309 | extra_blocks = self.get_extra_block_count(blocks) |
310 | 310 | ||
311 | if extra_blocks < BOOTDD_EXTRA_SPACE: | 311 | if extra_blocks < IMAGE_EXTRA_SPACE: |
312 | extra_blocks = BOOTDD_EXTRA_SPACE | 312 | extra_blocks = IMAGE_EXTRA_SPACE |
313 | 313 | ||
314 | blocks += extra_blocks | 314 | blocks += extra_blocks |
315 | 315 | ||