summaryrefslogtreecommitdiff
path: root/scripts/lib
diff options
context:
space:
mode:
authorMaciej Borzecki <maciej.borzecki@open-rnd.pl>2014-09-22 13:35:14 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-09-23 20:35:41 +0100
commit44abf447f8e4ed11cbbe53a4fb0ecf10a20f0f9e (patch)
tree551f911d9ca056ea17860c01107dc1a2da5b6498 /scripts/lib
parentba1503f77e0c03fe6c715b61983008b7a534ae20 (diff)
downloadopenembedded-core-44abf447f8e4ed11cbbe53a4fb0ecf10a20f0f9e.tar.gz
openembedded-core-44abf447f8e4ed11cbbe53a4fb0ecf10a20f0f9e.tar.bz2
openembedded-core-44abf447f8e4ed11cbbe53a4fb0ecf10a20f0f9e.zip
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. 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/lib')
-rw-r--r--scripts/lib/wic/kickstart/custom_commands/partition.py4
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):
extra_blocks = self.get_extra_block_count(blocks)
- if extra_blocks < BOOTDD_EXTRA_SPACE:
- extra_blocks = BOOTDD_EXTRA_SPACE
+ if extra_blocks < IMAGE_EXTRA_SPACE:
+ extra_blocks = IMAGE_EXTRA_SPACE
blocks += extra_blocks