* [PATCH] image.bbclass: Fix debug output for rootfs size
@ 2019-07-29 12:13 Daniel Klauer
2019-07-29 12:31 ` ✗ patchtest: failure for " Patchwork
0 siblings, 1 reply; 3+ messages in thread
From: Daniel Klauer @ 2019-07-29 12:13 UTC (permalink / raw)
To: openembedded-core
The debug output didn't match the calculation - it showed a wrong value.
---
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 682858dc95..25b0ead9bf 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -529,7 +529,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):
--
2.17.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* ✗ patchtest: failure for image.bbclass: Fix debug output for rootfs size
2019-07-29 12:13 [PATCH] image.bbclass: Fix debug output for rootfs size Daniel Klauer
@ 2019-07-29 12:31 ` Patchwork
2019-08-30 7:24 ` [PATCH v2] " Daniel Klauer
0 siblings, 1 reply; 3+ messages in thread
From: Patchwork @ 2019-07-29 12:31 UTC (permalink / raw)
To: Klauer, Daniel; +Cc: openembedded-core
== Series Details ==
Series: image.bbclass: Fix debug output for rootfs size
Revision: 1
URL : https://patchwork.openembedded.org/series/18951/
State : failure
== Summary ==
Thank you for submitting this patch series to OpenEmbedded Core. This is
an automated response. Several tests have been executed on the proposed
series by patchtest resulting in the following failures:
* Patch image.bbclass: Fix debug output for rootfs size
Issue Patch is missing Signed-off-by [test_signed_off_by_presence]
Suggested fix Sign off the patch (either manually or with "git commit --amend -s")
If you believe any of these test results are incorrect, please reply to the
mailing list (openembedded-core@lists.openembedded.org) raising your concerns.
Otherwise we would appreciate you correcting the issues and submitting a new
version of the patchset if applicable. Please ensure you add/increment the
version number when sending the new version (i.e. [PATCH] -> [PATCH v2] ->
[PATCH v3] -> ...).
---
Guidelines: https://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines
Test framework: http://git.yoctoproject.org/cgit/cgit.cgi/patchtest
Test suite: http://git.yoctoproject.org/cgit/cgit.cgi/patchtest-oe
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH v2] image.bbclass: Fix debug output for rootfs size
2019-07-29 12:31 ` ✗ patchtest: failure for " Patchwork
@ 2019-08-30 7:24 ` Daniel Klauer
0 siblings, 0 replies; 3+ messages in thread
From: Daniel Klauer @ 2019-08-30 7:24 UTC (permalink / raw)
To: openembedded-core
The debug output showed the wrong variable.
Signed-off-by: Daniel Klauer <daniel.klauer@gin.de>
---
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 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):
--
2.17.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-08-30 7:26 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-07-29 12:13 [PATCH] image.bbclass: Fix debug output for rootfs size Daniel Klauer
2019-07-29 12:31 ` ✗ patchtest: failure for " Patchwork
2019-08-30 7:24 ` [PATCH v2] " Daniel Klauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox