Disable Autoprov when build rpm
The rdc may install third party library in its local folder. We need to disable the Autoprov to prevent the rpm add provides for them. Change-Id: I18d008c2ca2ecb6bba64467d78b1f8c3a6585aea
This commit is contained in:
@@ -275,6 +275,7 @@ endif()
|
||||
set ( CPACK_RPM_FILE_NAME "RPM-DEFAULT" )
|
||||
|
||||
set(CPACK_RPM_PACKAGE_AUTOREQ 0)
|
||||
set(CPACK_RPM_PACKAGE_AUTOPROV 0)
|
||||
set(CPACK_RPM_PACKAGE_REQUIRES "rocm-smi-lib")
|
||||
list(APPEND CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST_ADDITION "/lib")
|
||||
list(APPEND CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST_ADDITION "/usr/sbin")
|
||||
|
||||
Reference in New Issue
Block a user