aboutsummaryrefslogtreecommitdiffstats
path: root/meta/classes/image.bbclass
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-08-30 22:30:23 +0100
commit9b404c24ddc6212576b78c9fc56c57baa0fb3745 (patch)
treeddd7c4ca356562b44d9c643f217d15a8cd9de646 /meta/classes/image.bbclass
parentcc557447ca07d99f0c45ba72edde957c2eec208a (diff)
downloadopenembedded-core-contrib-9b404c24ddc6212576b78c9fc56c57baa0fb3745.tar.gz
openembedded-core-contrib-9b404c24ddc6212576b78c9fc56c57baa0fb3745.tar.bz2
openembedded-core-contrib-9b404c24ddc6212576b78c9fc56c57baa0fb3745.zip
image.bbclass: Fix debug output for rootfs size
The debug output showed the wrong variable. Signed-off-by: Daniel Klauer <daniel.klauer@gin.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/image.bbclass')
-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):
base_size = size_kb * overhead_factor
bb.debug(1, '%f = %d * %f' % (base_size, size_kb, overhead_factor))
base_size2 = max(base_size, rootfs_req_size) + rootfs_extra_space
- bb.debug(1, '%f = max(%f, %d)[%f] + %d' % (base_size2, base_size, rootfs_req_size, max(base_size, rootfs_req_size), overhead_factor))
+ 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))
base_size = base_size2
if base_size != int(base_size):