SWDEV-306293 - fix regression in cleanup

To fix SWDEV-306293, x86_64-rocm-opencl.conf was renamed to
10-rocm-opencl.conf. This was not changes in the clean up, only in the
creation, so the patch causes a regression by not cleaning up the new
filename.

Signed-off-by: Jeremy Newton <Jeremy.Newton@amd.com>
Change-Id: I4aa456955f6f7c2d52a3560e5e792537f95add17
Цей коміт міститься в:
Jeremy Newton
2021-12-07 09:59:03 -05:00
джерело 76c6dcd558
коміт e885ae9591
2 змінених файлів з 2 додано та 2 видалено
+1 -1
Переглянути файл
@@ -3,7 +3,7 @@
set -e
rm_ldconfig() {
rm -f /etc/ld.so.conf.d/x86_64-rocm-opencl.conf && ldconfig
rm -f /etc/ld.so.conf.d/10-rocm-opencl.conf && ldconfig
rm -f /etc/OpenCL/vendors/@OPENCL_AMD_ICD_FILE@
}
+1 -1
Переглянути файл
@@ -1,5 +1,5 @@
if [ $1 -eq 0 ]; then
rm -f /etc/ld.so.conf.d/x86_64-rocm-opencl.conf && ldconfig
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
rm -f @ROCM_PATH@/lib/libOpenCL.so.@OPENCL_LIB_VERSION_MAJOR@