From ee893797fa4d7a8c0cf1ad9e84fdb180cba72048 Mon Sep 17 00:00:00 2001 From: Maciej Borzecki Date: Mon, 22 Sep 2014 13:35:14 +0200 Subject: [PATCH] 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 Signed-off-by: Maciek Borzecki Signed-off-by: Richard Purdie --- scripts/lib/wic/kickstart/custom_commands/partition.py | 4 ++-- 1 file 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 0b02172..f41d136 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 -- 2.7.4