From df63161bafa18c05318e7a87fd6422b1095e1a5a Mon Sep 17 00:00:00 2001 From: Alberto Compagno Date: Tue, 1 Oct 2019 18:09:01 +0200 Subject: [HICN-287] Adding hicn section to the startup.conf Checking if the size of the CS is greater than the number of vlib buffers available and size it accordingly. Removed unused parameters to set PIT lifetime Change-Id: I47679466542d4338e447d9e0b956038143164020 Signed-off-by: Alberto Compagno --- hicn-plugin/cmake/Modules/Packaging.cmake | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'hicn-plugin/cmake') diff --git a/hicn-plugin/cmake/Modules/Packaging.cmake b/hicn-plugin/cmake/Modules/Packaging.cmake index 8cace744b..61453d6fd 100644 --- a/hicn-plugin/cmake/Modules/Packaging.cmake +++ b/hicn-plugin/cmake/Modules/Packaging.cmake @@ -29,3 +29,18 @@ set(${HICN_PLUGIN}_RPM_DEPENDENCIES "vpp >= stable_version-release, vpp < next_version-release, vpp-plugins >= stable_version-release, vpp-plugins < next_version-release" CACHE STRING "Dependencies for deb/rpm package." ) + +set(${HICN_PLUGIN}_DEB_PACKAGE_CONTROL_EXTRA + "${CMAKE_CURRENT_SOURCE_DIR}/scripts/postinst" + CACHE STRING "Control scripts conffiles, postinst, postrm, prerm." +) + +set(${HICN_PLUGIN}_RPM_POST_INSTALL_SCRIPT_FILE + "${CMAKE_CURRENT_SOURCE_DIR}/scripts/post" + CACHE STRING "Install script that will be copied in the %post section" +) + +set(${HICN_PLUGIN}_RPM_POST_UNINSTALL_SCRIPT_FILE + "${CMAKE_CURRENT_SOURCE_DIR}/scripts/postun" + CACHE STRING "Uninstall script that will be copied in the %postun section" +) \ No newline at end of file -- cgit 1.2.3-korg