From a77daef0c1b695b19f1989530d804262298e4d2d Mon Sep 17 00:00:00 2001
From: "Sergey V. Lobanov" <sergey@lobanov.in>
Date: Fri, 29 Dec 2023 00:25:52 +0100
Subject: ci: add ubuntu 24.04 support, disable mainline kernel build

third-party mainline ubuntu kernel package is broken so disable it
---
 cmake/cpack.cmake | 5 +++++
 1 file changed, 5 insertions(+)

(limited to 'cmake')

diff --git a/cmake/cpack.cmake b/cmake/cpack.cmake
index 30d7f4d..14e0624 100644
--- a/cmake/cpack.cmake
+++ b/cmake/cpack.cmake
@@ -85,6 +85,11 @@ IF(CPACK_TYPE STREQUAL Ubuntu22)
         INCLUDE(${CMAKE_HOME_DIRECTORY}/cmake/debian/debian.cmake)
 ENDIF(CPACK_TYPE STREQUAL Ubuntu22)
 
+IF(CPACK_TYPE STREQUAL Ubuntu24)
+        SET(CPACK_DEBIAN_PACKAGE_DEPENDS "libc6 (>= 2.35), libssl3 (>= 3.0.2), libpcre3 (>= 8.39)")
+        INCLUDE(${CMAKE_HOME_DIRECTORY}/cmake/debian/debian.cmake)
+ENDIF(CPACK_TYPE STREQUAL Ubuntu24)
+
 IF(CPACK_TYPE STREQUAL Centos7)
 	SET(CPACK_RPM_PACKAGE_LICENSE "GPL")
 	SET(CPACK_RPM_PACKAGE_URL "http://accel-ppp.org")
-- 
cgit v1.2.3