[VERIFICATION BIONIC]
This was tested using the following proposed pkg: sosreport 3.9-1ubuntu0.18.04.3
I confirmed the sosreport's hw plugin collect 'lshw' command as root, and its content is accurate.
# lsb_release -cs focal
# sosreport -a # cd /tmp # tar Jxvf sosreport*.tar.xz # sudo lshw | tee /tmp/lshw_not_from_sosreport.bionic
# diff -u /tmp/lshw_not_from_sosreport.bionic /path_to_sosreport/sos_commands/hardware/lshw 17c17 < size: 2869MHz --- > size: 3200MHz
The "size:" is dynamic so it keeps changing at each lshw run, the rest remain identical. No content missing/altered/... during the lshw sosreport collection.
[VERIFICATION BIONIC]
This was tested using the following proposed pkg: 18.04.3
sosreport 3.9-1ubuntu0.
I confirmed the sosreport's hw plugin collect 'lshw' command as root,
and its content is accurate.
# lsb_release -cs
focal
# sosreport -a not_from_ sosreport. bionic
# cd /tmp
# tar Jxvf sosreport*.tar.xz
# sudo lshw | tee /tmp/lshw_
# diff -u /tmp/lshw_ not_from_ sosreport. bionic /path_to_ sosreport/ sos_commands/ hardware/ lshw
17c17
< size: 2869MHz
---
> size: 3200MHz
The "size:" is dynamic so it keeps changing at each lshw run, the rest remain identical.
No content missing/altered/... during the lshw sosreport collection.