2
0

Merge amd-staging into amd-master 20220303

Signed-off-by: Hao Zhou <Hao.Zhou@amd.com>
Change-Id: I3b870b9944df71ab11b2c9de176c74351f89068a


[ROCm/rocm_smi_lib commit: f02fe43b55]
Este cometimento está contido em:
Hao Zhou
2022-03-03 17:18:52 +08:00
ascendente 5ed1301080 913986f721
cometimento 300b9479c3
2 ficheiros modificados com 3 adições e 2 eliminações
+1 -1
Ver ficheiro
@@ -11,7 +11,7 @@ rm_ldconfig() {
}
case "$1" in
( remove )
( remove | upgrade)
rm_ldconfig
;;
( purge )
+2 -1
Ver ficheiro
@@ -1,5 +1,6 @@
# second term originates from ENABLE_LDCONFIG = ON/OFF at package build
if [ $1 -eq 0 ] && [ "@ENABLE_LDCONFIG@" == "ON" ]; then
if [ $1 -le 1 ] && [ "@ENABLE_LDCONFIG@" == "ON" ]; then
# perform the below actions for rpm remove($1=0) or upgrade($1=1) operations
rm -f /etc/ld.so.conf.d/x86_64-librocm_smi_lib.conf
ldconfig
fi