SWDEV-350674 - Added backward compatibility for binary files and rdc.service
With file reorganization changes binaries are moved to /opt/rocm-ver/bin. Similarly rdc.service moved to /opt/rocm-ver/libexec/rdc Test suites still used old paths Once test suites changes are made, backward compatibility for binaries and rdc.service can be removed Corrcted binary path in rdc.service.in Corrected GRPC runpath Change-Id: I306924d81cedc19586305a79d51eea8af6e70e83
This commit is contained in:
@@ -22,7 +22,7 @@ case "$1" in
|
||||
configure)
|
||||
do_create_rdc_user
|
||||
#Symlink RDC Service
|
||||
ln -s -f -r /@RDC_CLIENT_INSTALL_PREFIX@/lib/rdc.service /lib/systemd/system/rdc.service
|
||||
ln -s -f -r /@RDC_CLIENT_INSTALL_PREFIX@/@CMAKE_INSTALL_LIBEXECDIR@/rdc/rdc.service /lib/systemd/system/rdc.service
|
||||
reload_systemd
|
||||
exit 0
|
||||
;;
|
||||
|
||||
@@ -19,7 +19,7 @@ reload_systemd() {
|
||||
do_create_rdc_user
|
||||
|
||||
#Symlink RDC Service
|
||||
ln -s -f -r /@RDC_CLIENT_INSTALL_PREFIX@/lib/rdc.service @DISTRO_ROOT@/rdc.service
|
||||
ln -s -f -r /@RDC_CLIENT_INSTALL_PREFIX@/@CMAKE_INSTALL_LIBEXECDIR@/rdc/rdc.service @DISTRO_ROOT@/rdc.service
|
||||
|
||||
#Request systemctl to reload file since RDC is adding new file/service
|
||||
reload_systemd
|
||||
|
||||
Reference in New Issue
Block a user