Remove hard coded ROCm path in rdc.service

The executable rdcd was using an absolute path in rdc.service. Using update-alternatives gives the flexibility to invoke the binary from anywhere and no absolute path is required.

Change-Id: I2f3d6fcbf9dd854870cfc2e00532c504ce6cd6fc
이 커밋은 다음에 포함됨:
Ranjith Ramakrishnan
2024-03-13 10:50:05 -07:00
커밋한 사람 Galantsev, Dmitrii
부모 662cc0f8b2
커밋 0ca6d6fa59
6개의 변경된 파일과 135개의 추가작업 그리고 4개의 파일을 삭제
+3 -2
파일 보기
@@ -23,8 +23,9 @@ AmbientCapabilities=CAP_DAC_OVERRIDE
# If we need to start anything before rdcd, use this
# ExecStartPre=
ExecStart=/@CPACK_PACKAGING_INSTALL_PREFIX@/@CMAKE_INSTALL_BINDIR@/rdcd
# update-alternative has been run for rdcd and
# soft link will be available in usr/bin
ExecStart=rdcd
# If we need to start anything after rdcd use this
# ExecStartPost=