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
Этот коммит содержится в:
коммит произвёл
Saravanan Solaiyappan
родитель
c741a808ae
Коммит
56dde03fbb
@@ -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
|
||||
|
||||
Ссылка в новой задаче
Block a user