SWDEV-462728 Add update-pciids to install + remove subsystem name

Added to install to update-pciids if there is network connection.
Removed subsystem name from outputting under model. Added TODO
to add later on.

Change-Id: I028269f2931f61e094116a85a7a1286de548122a
Signed-off-by: Charis Poag <Charis.Poag@amd.com>
This commit is contained in:
Charis Poag
2024-05-20 11:26:29 -05:00
committed by Maisam Arif
parent a0bfa0e44e
commit c5da93ab90
3 changed files with 11 additions and 14 deletions
+5
View File
@@ -1,5 +1,9 @@
#!/bin/bash
do_updatepciids() {
update-pciids >/dev/null 2>&1 || true
}
do_configureLogrotate() {
local IS_SYSTEMD=0
local packageName="amd-smi-lib"
@@ -186,5 +190,6 @@ do_install_amdsmi_python_lib() {
if [ "$1" -ge 1 ]; then
do_install_amdsmi_python_lib
do_ldconfig
do_updatepciids
do_configureLogrotate || exit 0
fi