hooks: Allow writing the console log to a file

Labgrid has a --log-output option to allow writing its log output to a
file. Add a way to control this from Labgrid's U-Boot scripts.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass
2025-07-18 16:56:55 -06:00
parent d40c8f0b87
commit f9f05c7237

View File

@@ -38,6 +38,6 @@
exec labgrid-client -V do-bootstrap ${bootstrap:-1} -V do-build ${build:-1} \
-V do-send ${send:-0} -V do-clean ${clean:-0} ${vars} \
-V process-limit ${BUILDMAN_PROCESS_LIMIT:-0} ${V} \
-V process-limit ${BUILDMAN_PROCESS_LIMIT:-0} ${log_output} ${V} \
-r "${U_BOOT_BOARD_IDENTITY}" ${strategy} ${verbose} -a console \
${console_log}