summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Klauer <daniel.klauer@gin.de>2019-08-30 09:24:21 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-09-01 22:33:07 +0100
commitfd55f5e425a2b0e73e32cfebb961c8afb967744a (patch)
treee0f22e1758a424bc9332828a55012cf18c214be8
parent270bc1fda590f8759da745331fa311d8b87f9b16 (diff)
downloadpoky-fd55f5e425a2b0e73e32cfebb961c8afb967744a.tar.gz
image.bbclass: Fix debug output for rootfs size
The debug output showed the wrong variable. (From OE-Core rev: 9b404c24ddc6212576b78c9fc56c57baa0fb3745) Signed-off-by: Daniel Klauer <daniel.klauer@gin.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/image.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index 7fa4ff20bd..f4633da3d5 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -526,7 +526,7 @@ def get_rootfs_size(d):
526 base_size = size_kb * overhead_factor 526 base_size = size_kb * overhead_factor
527 bb.debug(1, '%f = %d * %f' % (base_size, size_kb, overhead_factor)) 527 bb.debug(1, '%f = %d * %f' % (base_size, size_kb, overhead_factor))
528 base_size2 = max(base_size, rootfs_req_size) + rootfs_extra_space 528 base_size2 = max(base_size, rootfs_req_size) + rootfs_extra_space
529 bb.debug(1, '%f = max(%f, %d)[%f] + %d' % (base_size2, base_size, rootfs_req_size, max(base_size, rootfs_req_size), overhead_factor)) 529 bb.debug(1, '%f = max(%f, %d)[%f] + %d' % (base_size2, base_size, rootfs_req_size, max(base_size, rootfs_req_size), rootfs_extra_space))
530 530
531 base_size = base_size2 531 base_size = base_size2
532 if base_size != int(base_size): 532 if base_size != int(base_size):