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
이 커밋은 다음에 포함됨:
커밋한 사람
Galantsev, Dmitrii
부모
662cc0f8b2
커밋
0ca6d6fa59
+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=
|
||||
|
||||
새 이슈에서 참조
사용자 차단