dasharo-issues icon indicating copy to clipboard operation
dasharo-issues copied to clipboard

HCL report: Use predefined log dir

Open 3mkusiak opened this issue 3 months ago • 2 comments

Component

Dasharo Tools Suite

Device

other

Dasharo version

--

Dasharo Tools Suite version

2.7.0

Test case ID

--

Brief summary

The HCL report feature creates a temporary log directory at wherever dts-boot was run from. This is bad, as some things need to be mocked sometimes. Example is testing recent PSPTool integration, where the firmware binary needs to be manually placed in the <wherever>/logs directory. The fact that the logs is not at a predefined location is confusing.

How reproducible

Allways

How to reproduce

  1. Boot DTS.
  2. Open up shell.
  3. Create a directory and enter it
mkdir never_gonna_give_you_up && cd never_gonna_give_you_up
  1. Start DTS TUI
dts-boot
  1. Run HCL report

Expected behavior

The temporary logs diretory is created at predefined place (e.g. /tmp, /).

Actual behavior

The logs directory is created wherever used performed dts-boot from.

Screenshots

No response

Additional context

No response

Solutions you've tried

No response

3mkusiak avatar Oct 08 '25 09:10 3mkusiak

@3mkusiak, just to clarify the issue. Do you mean, that if I execute dts-boot from /home the logs dir will be created under /home/logs?

DaniilKl avatar Oct 13 '25 07:10 DaniilKl

@3mkusiak, just to clarify the issue. Do you mean, that if I execute dts-boot from /home the logs dirr will be created under /home/logs?

Correct

3mkusiak avatar Oct 13 '25 07:10 3mkusiak