summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorMikko Rapeli <mikko.rapeli@linaro.org>2025-02-06 09:30:12 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-02-10 13:03:58 +0000
commita47637f7c0d3c02d5d55effcc8d0e1f06594ad37 (patch)
treecdc8348ced44a5d719bb75462088504211cf99b9 /meta
parent29bccf5ae13d48052071cfa07f01a52016918da5 (diff)
downloadpoky-a47637f7c0d3c02d5d55effcc8d0e1f06594ad37.tar.gz
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>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes-recipe/uki.bbclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes-recipe/uki.bbclass b/meta/classes-recipe/uki.bbclass
index 92f690526d..ccda042ab4 100644
--- a/meta/classes-recipe/uki.bbclass
+++ b/meta/classes-recipe/uki.bbclass
@@ -190,6 +190,7 @@ python do_uki() {
190 190
191 # Run the ukify command 191 # Run the ukify command
192 bb.debug(2, "uki: running command: %s" % (ukify_cmd)) 192 bb.debug(2, "uki: running command: %s" % (ukify_cmd))
193 bb.process.run(ukify_cmd, shell=True) 193 out, err = bb.process.run(ukify_cmd, shell=True)
194 bb.debug(2, "%s\n%s" % (out, err))
194} 195}
195addtask uki after do_rootfs before do_deploy do_image_complete do_image_wic 196addtask uki after do_rootfs before do_deploy do_image_complete do_image_wic