Skip to content

Commit 6235e05

Browse files
jthiltgespoiana
authored andcommitted
update(build): relax dkms requirements to suggestions
Running in modern_ebpf mode does not require kernel build dependencies Signed-off-by: John Thiltges <[email protected]>
1 parent ec9954d commit 6235e05

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

cmake/modules/CPackConfig.cmake

+3-2
Original file line numberDiff line numberDiff line change
@@ -72,15 +72,16 @@ if(${CMAKE_SYSTEM_PROCESSOR} STREQUAL "aarch64")
7272
set(CPACK_DEBIAN_PACKAGE_ARCHITECTURE "arm64")
7373
endif()
7474
set(CPACK_DEBIAN_PACKAGE_HOMEPAGE "https://www.falco.org")
75-
set(CPACK_DEBIAN_PACKAGE_DEPENDS "dkms (>= 2.1.0.0)")
75+
set(CPACK_DEBIAN_PACKAGE_SUGGESTS "dkms (>= 2.1.0.0)")
7676
set(CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA
7777
"${CMAKE_BINARY_DIR}/scripts/debian/postinst;${CMAKE_BINARY_DIR}/scripts/debian/prerm;${CMAKE_BINARY_DIR}/scripts/debian/postrm;${PROJECT_SOURCE_DIR}/cmake/cpack/debian/conffiles"
7878
)
7979

8080
set(CPACK_RPM_PACKAGE_LICENSE "Apache v2.0")
8181
set(CPACK_RPM_PACKAGE_ARCHITECTURE, "amd64")
8282
set(CPACK_RPM_PACKAGE_URL "https://www.falco.org")
83-
set(CPACK_RPM_PACKAGE_REQUIRES "dkms, kernel-devel, systemd")
83+
set(CPACK_RPM_PACKAGE_REQUIRES "systemd")
84+
set(CPACK_RPM_PACKAGE_SUGGESTS "dkms, kernel-devel")
8485
set(CPACK_RPM_POST_INSTALL_SCRIPT_FILE "${CMAKE_BINARY_DIR}/scripts/rpm/postinstall")
8586
set(CPACK_RPM_PRE_UNINSTALL_SCRIPT_FILE "${CMAKE_BINARY_DIR}/scripts/rpm/preuninstall")
8687
set(CPACK_RPM_POST_UNINSTALL_SCRIPT_FILE "${CMAKE_BINARY_DIR}/scripts/rpm/postuninstall")

0 commit comments

Comments
 (0)