diff --git a/projects/hip/packaging/hip_base.postinst b/projects/hip/packaging/hip_base.postinst index daf0591081..5348406489 100755 --- a/projects/hip/packaging/hip_base.postinst +++ b/projects/hip/packaging/hip_base.postinst @@ -19,7 +19,8 @@ for f in $HIPBINFILES do ln -s $f $(basename $f) done -popd >/dev/null + ln -s $HIPDIR/bin/.hipVersion .hipVersion +popd # Soft-link to headers HIPINCDIR=$HIPDIR/include/hip diff --git a/projects/hip/packaging/hip_base.prerm b/projects/hip/packaging/hip_base.prerm index 2953e16f2f..5985cc30ec 100755 --- a/projects/hip/packaging/hip_base.prerm +++ b/projects/hip/packaging/hip_base.prerm @@ -19,6 +19,7 @@ for f in $HIPBINFILES do rm $(basename $f) done +rm .hipVersion popd rmdir --ignore-fail-on-non-empty $ROCMBINDIR diff --git a/projects/hip/packaging/hip_hcc.postinst b/projects/hip/packaging/hip_hcc.postinst index 0a3b31e0e0..14179db767 100755 --- a/projects/hip/packaging/hip_hcc.postinst +++ b/projects/hip/packaging/hip_hcc.postinst @@ -19,5 +19,6 @@ for f in $HIPLIBFILES do ln -s $f $(basename $f) done + ln -s $HIPDIR/lib/.hipInfo .hipInfo popd diff --git a/projects/hip/packaging/hip_hcc.prerm b/projects/hip/packaging/hip_hcc.prerm index 42f864f323..dda313a3a4 100755 --- a/projects/hip/packaging/hip_hcc.prerm +++ b/projects/hip/packaging/hip_hcc.prerm @@ -19,6 +19,7 @@ for f in $HIPLIBFILES do rm $(basename $f) done +rm .hipInfo popd rmdir --ignore-fail-on-non-empty $ROCMLIBDIR