Install dmidecode package for ARM platforms #1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Why I did it
The platform dump in the tech support bundle was missing the dmidecode output. This occurred because dmidecode was not installed on the DPUs running the Smart Switch master branch.
Work item tracking
How I did it
The platform dump in the tech support bundle was missing the dmidecode output due to dmidecode not being installed on the DPUs running the Smart Switch master branch. I’ve now added dmidecode to the list of required packages to be installed on the DPU.
How to verify it
I’ve verified the tech support output on one of the devices after applying the fix, and it now includes the dmidecode output as expected.
Before Fix:
dmidecode -t1 -t2 -t 11
bash: dmidecode: command not found
After Fix:
dmidecode --help
Usage: dmidecode [OPTIONS]
Options are:
-d, --dev-mem FILE Read memory from device FILE (default: /dev/mem)
-h, --help Display this help text and exit
-q, --quiet Less verbose output
-s, --string KEYWORD Only display the value of the given DMI string
-t, --type TYPE Only display the entries of given type
-H, --handle HANDLE Only display the entry of given handle
-u, --dump Do not decode the entries
--dump-bin FILE Dump the DMI data to a binary file
--from-dump FILE Read the DMI data from a binary file
--no-sysfs Do not attempt to read DMI data from sysfs files
--oem-string N Only display the value of the given OEM string
-V, --version Display the version and exit
platform-dump# ls
bin dmidecode lsmod mlxbf-ptm-dump platform-dump.tar.gz sys_version
dmesg interrupts lspci mstdump_mt41692_pciconf0 sysfs_tree top
Which release branch to backport (provide reason below if selected)
Tested branch (Please provide the tested image version)
Description for the changelog
Link to config_db schema for YANG module changes
A picture of a cute animal (not mandatory but encouraged)