[oe-commits] [openembedded-core] 15/29: image.bbclass: Fix debug output for rootfs size

git at git.openembedded.org git at git.openembedded.org
Fri Aug 30 21:34:28 UTC 2019


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 9b404c24ddc6212576b78c9fc56c57baa0fb3745
Author: Daniel Klauer <daniel.klauer at gin.de>
AuthorDate: Fri Aug 30 09:24:21 2019 +0200

    image.bbclass: Fix debug output for rootfs size
    
    The debug output showed the wrong variable.
    
    Signed-off-by: Daniel Klauer <daniel.klauer at gin.de>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/classes/image.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index 7fa4ff2..f4633da 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):

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list