SWDEV-323670 - RPM: Remove symlinks during upgrade as well
During RPM upgrade, lib/libOpenCL.so* files/symlinks from the previous installed version are not removed. This change will remove those symlinks as part of the RPM remove or upgrade operation. Signed-off-by: Saravanan Solaiyappan <saravanan.solaiyappan@amd.com> Change-Id: Ia943407052ec24911756042a5f9839a605522443
Este cometimento está contido em:
1 ascendente
c741a808ae
cometimento
56dde03fbb
1 ficheiro modificado
+3
-1
@@ -1,4 +1,6 @@
|
||||
if [ $1 -eq 0 ]; then
|
||||
if [ $1 -le 1 ]; then
|
||||
# Below files will be removed during remove | upgrade operation
|
||||
|
||||
rm -f /etc/ld.so.conf.d/10-rocm-opencl.conf && ldconfig
|
||||
rm -f /etc/OpenCL/vendors/@OPENCL_AMD_ICD_FILE@
|
||||
rm -f @ROCM_PATH@/lib/libOpenCL.so
|
||||
|
||||
Criar uma nova questão referindo esta
Bloquear um utilizador