]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
image_types_wic.bbclass: capture verbose wic output by default
authorMikko Rapeli <mikko.rapeli@linaro.org>
Fri, 30 May 2025 11:37:44 +0000 (14:37 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 2 Jun 2025 21:17:21 +0000 (22:17 +0100)
commitde2187cc4cb8de0a8308708951ada36fa34da263
tree85c5558514335c450f6c27ed8895905cd6f705ec
parent1b51677bff4f6cff6450010f6e5edd4f47693d82
image_types_wic.bbclass: capture verbose wic output by default

Call wic with --debug to capture logs from wic internals
so that it's clear which partitions get created and which
files get copied where. wic plugins contain for example
race conditions which don't install files at all and thus
images fail to boot and it's not possible to debug these without
something in wic task logs.

As an example core-image-initramfs-boot do_image_wic
log is now 576 lines which is not excessive but very
important when debugging problems, especially race
conditions which are only hit in some builds in CI.

With all issues I have to deal within wic, I always
need to apply this change before I get to see any
details what wic and its plugins are doing. Thus I
strongly believe this verbose outuput should be the
default.

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes-recipe/image_types_wic.bbclass