From fbce6e89a1bb5dad6b3cde92d68d9b6270c5b44f Mon Sep 17 00:00:00 2001 From: Michal Cmarada Date: Fri, 25 Jan 2019 10:55:44 +0100 Subject: Adapt to new VPP Debian packaging - vpp-plugins was renamed to vpp-plugin-core Change-Id: I7fc5faadb455b801e40508c93fd5e8f54536b1fc Signed-off-by: Michal Cmarada --- java/CMakeLists.txt | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/java/CMakeLists.txt b/java/CMakeLists.txt index 2da75d6..1e823db 100644 --- a/java/CMakeLists.txt +++ b/java/CMakeLists.txt @@ -136,7 +136,7 @@ if(${RELEASE_ID} MATCHES Ubuntu) COMMAND grep api.json OUTPUT_VARIABLE corefiles) STRING(REGEX REPLACE "\n" ";" corefiles "${corefiles}") elseif(${RELEASE_ID} MATCHES CentOS) - # Exclude vpp plugin api files. VPP package should not contain VPP-plugins api files and vice-versa. Temporary fixing + # Exclude vpp plugin api files. VPP package should not contain vpp-plugins api files and vice-versa. Temporary fixing # by excluding them manually. execute_process(COMMAND rpm -ql vpp COMMAND grep -v memclnt @@ -193,11 +193,8 @@ unset (IOAM_TRACE_JSON_FILE) unset (IOAM_POT_JSON_FILE) unset (IOAM_EXPORT_JSON_FILE) -execute_process(COMMAND dpkg-query -L vpp-plugins - COMMAND grep api.json OUTPUT_VARIABLE pluginfiles) -STRING(REGEX REPLACE "\n" ";" pluginfiles "${pluginfiles}") if(${RELEASE_ID} MATCHES Ubuntu) - execute_process(COMMAND dpkg-query -L vpp-plugins + execute_process(COMMAND dpkg-query -L vpp-plugin-core COMMAND grep api.json OUTPUT_VARIABLE pluginfiles) STRING(REGEX REPLACE "\n" ";" pluginfiles "${pluginfiles}") elseif(${RELEASE_ID} MATCHES CentOS) @@ -297,7 +294,7 @@ if (${RELEASE_ID} MATCHES "Ubuntu") set(CPACK_DEBIAN_PACKAGE_SECTION "${CPACK_PACKAGE_SECTION}") set(CPACK_DEBIAN_PACKAGE_FILE_NAME ${CPACK_PACKAGE_FILE_NAME}) set(CPACK_DEBIAN_PACKAGE_PRIORITY extra) - set(CPACK_DEBIAN_PACKAGE_DEPENDS "vpp (>= ${vpp_version}), vpp-plugins (>= ${vpp_version})") + set(CPACK_DEBIAN_PACKAGE_DEPENDS "vpp (>= ${vpp_version}), vpp-plugin-core (>= ${vpp_version})") # Print Debian package summary message("\nDebian package:") -- cgit 1.2.3-korg