SWDEV-323670 - Remove lib/libOpenCL.so* symlinks during upgrade

During upgrade lib/libOpenCL.so* files/symlinks are not
removed.
This change will remove those symlinks as part of the upgrade
package activity.

Signed-off-by: Saravanan Solaiyappan <saravanan.solaiyappan@amd.com>
Change-Id: Ia12e89e857b358101f93a6044fe090aa7acafbe0
Este commit está contenido en:
Saravanan Solaiyappan
2022-02-17 07:15:22 -05:00
padre e3fe3a6109
commit c741a808ae
+1 -1
Ver fichero
@@ -10,7 +10,7 @@ rm_ldconfig() {
case "$1" in
purge)
;;
remove)
remove | upgrade )
rm -f @ROCM_PATH@/lib/libOpenCL.so
rm -f @ROCM_PATH@/lib/libOpenCL.so.@OPENCL_LIB_VERSION_MAJOR@
rm -f @ROCM_PATH@/lib/libOpenCL.so.@OPENCL_LIB_VERSION_STRING@