Fix errors with libtirpc on centos8-based platforms
These changes address behaviour related to the use of tirpc on centos-based systems. The fixes include:
- Fix a segmentation violation when rpc initialization fails. The segmentation violation is caused by dereferencing a
null
error struct. - Fix the building of the NVIDIA Container Library with
WITH_TIRPC=yes
. The make files forlibtirpc
also useDESTDIR
internally which means that the prefix needs to be adjusted accordingly. - Set
WITH_TIPRC=yes
when building oncentos
-based platforms. This includes Kylin Linux Advanced Server where RPC initialization fails. - Remove redundant
fedora35
make targets since thecentos8
packages are compatible with this platform.
Signed-off-by: Evan Lezar elezar@nvidia.com
Edited by Evan Lezar