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


[ROCm/clr commit: e885ae9591]
Bu işleme şunda yer alıyor:
Jeremy Newton
2021-12-07 09:59:03 -05:00
ebeveyn 6b3e3bf6c6
işleme 91baa9ded6
2 değiştirilmiş dosya ile 2 ekleme ve 2 silme
+1 -1
Dosyayı Görüntüle
@@ -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
Dosyayı Görüntüle
@@ -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@