From f47076699b110aeed16fb5dacf731df058493ec3 Mon Sep 17 00:00:00 2001 From: Freddy Paul Date: Thu, 21 Oct 2021 07:47:26 -0700 Subject: [PATCH] hip:Fix post install script syntax error. SWDEV-308166: /opt/rocm softlink not created when installing selective hip packages Change-Id: Id9c70f5f4edc01fdbb1d06563cab1503e94542ea [ROCm/clr commit: 45e94f4c2e70023549b7d4f0274bce6d0e9da9d7] --- projects/clr/hipamd/packaging/hip-runtime-nvidia.postinst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/clr/hipamd/packaging/hip-runtime-nvidia.postinst b/projects/clr/hipamd/packaging/hip-runtime-nvidia.postinst index e11abbc982..34ff0d4721 100755 --- a/projects/clr/hipamd/packaging/hip-runtime-nvidia.postinst +++ b/projects/clr/hipamd/packaging/hip-runtime-nvidia.postinst @@ -22,6 +22,6 @@ ROCMDIR=@ROCM_PATH@ HIPDIR=$ROCMDIR/hip -if [ -d $ROCMDIR] ; then +if [ -d $ROCMDIR ] ; then ln -s -f $ROCMDIR /opt/rocm fi