Include GPT info when saving hw-diaqs debug data
This commit is contained in:
parent
ef426c95b5
commit
2b98eeabca
1 changed files with 5 additions and 0 deletions
|
|
@ -368,6 +368,11 @@ class State():
|
||||||
for name, test in disk.tests.items():
|
for name, test in disk.tests.items():
|
||||||
_f.write(f'\n{name}:\n')
|
_f.write(f'\n{name}:\n')
|
||||||
_f.write('\n'.join(debug.generate_object_report(test, indent=1)))
|
_f.write('\n'.join(debug.generate_object_report(test, indent=1)))
|
||||||
|
cmd = [(
|
||||||
|
f'sudo gpt -r show "{disk.path}"'
|
||||||
|
f' >> {debug_dir}/gpt_{disk.path.name}.info'
|
||||||
|
)]
|
||||||
|
exe.run_program(cmd, check=False, shell=True)
|
||||||
|
|
||||||
# osTicket
|
# osTicket
|
||||||
with open(f'{debug_dir}/osTicket.report', 'a') as _f:
|
with open(f'{debug_dir}/osTicket.report', 'a') as _f:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue