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
이 커밋은 다음에 포함됨:
1 부모
c741a808ae
커밋
56dde03fbb
1 파일이 변경됨
+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
|
||||
|
||||
새 이슈에서 참조
사용자 차단