From 25280d88c1301fb79dab77daf339e1fb46e4e377 Mon Sep 17 00:00:00 2001 From: Sean Keely Date: Wed, 17 Jun 2020 02:55:58 -0500 Subject: [PATCH] Fix install issue. Create symlink directory before attmpting to create the symlink. Change-Id: Ic4d07052e5bfc32280c7d71e58784cbba3536e2a [ROCm/ROCR-Runtime commit: d163fac13dbc273a21bee6a079576882104e6fad] --- projects/rocr-runtime/runtime/hsa-runtime/DEBIAN/post_install | 1 + 1 file changed, 1 insertion(+) diff --git a/projects/rocr-runtime/runtime/hsa-runtime/DEBIAN/post_install b/projects/rocr-runtime/runtime/hsa-runtime/DEBIAN/post_install index 295922dcfc..a9afa9c26c 100644 --- a/projects/rocr-runtime/runtime/hsa-runtime/DEBIAN/post_install +++ b/projects/rocr-runtime/runtime/hsa-runtime/DEBIAN/post_install @@ -9,6 +9,7 @@ do_ldconfig() { case "$1" in configure) do_ldconfig + mkdir -p @CPACK_PACKAGING_INSTALL_PREFIX@/include ln -sf ../hsa/include/hsa @CPACK_PACKAGING_INSTALL_PREFIX@/include/hsa ;; abort-upgrade|abort-remove|abort-deconfigure)