From: Mikko Rapeli Date: Thu, 6 Feb 2025 07:30:12 +0000 (+0200) Subject: uki.bbclass: capture ukify command stdout and stderr X-Git-Tag: yocto-5.2~544 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6ac326a4f9d19fa154c9ce172a264f55ebe5b1ef;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git uki.bbclass: capture ukify command stdout and stderr ukify tool can show important warnings and even errors if it fails so capture the logs. Signed-off-by: Mikko Rapeli Signed-off-by: Richard Purdie --- diff --git a/meta/classes-recipe/uki.bbclass b/meta/classes-recipe/uki.bbclass index 92f690526dc..ccda042ab4f 100644 --- a/meta/classes-recipe/uki.bbclass +++ b/meta/classes-recipe/uki.bbclass @@ -190,6 +190,7 @@ python do_uki() { # Run the ukify command bb.debug(2, "uki: running command: %s" % (ukify_cmd)) - bb.process.run(ukify_cmd, shell=True) + out, err = bb.process.run(ukify_cmd, shell=True) + bb.debug(2, "%s\n%s" % (out, err)) } addtask uki after do_rootfs before do_deploy do_image_complete do_image_wic