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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user