uki.bbclass: capture ukify command stdout and stderr

ukify tool can show important warnings and even errors
if it fails so capture the logs.

(From OE-Core rev: 6ac326a4f9d19fa154c9ce172a264f55ebe5b1ef)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Mikko Rapeli
2025-02-06 09:30:12 +02:00
committed by Richard Purdie
parent 29bccf5ae1
commit a47637f7c0

View File

@@ -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