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 committed 2021-12-07 09:59:03 -05:00
1 親 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@