summaryrefslogtreecommitdiffstats
path: root/package/sysdig/0001-remove-dkms-module-updater.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/sysdig/0001-remove-dkms-module-updater.patch')
-rw-r--r--package/sysdig/0001-remove-dkms-module-updater.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/package/sysdig/0001-remove-dkms-module-updater.patch b/package/sysdig/0001-remove-dkms-module-updater.patch
new file mode 100644
index 0000000000..8d5c99d2c6
--- /dev/null
+++ b/package/sysdig/0001-remove-dkms-module-updater.patch
@@ -0,0 +1,31 @@
+Remove DKMS module updater
+
+This patch disables the in target installation of DKMS module updater
+mechanism unneeded in buildroot.
+
+Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
+
+--- a/driver/CMakeLists.txt
++++ b/driver/CMakeLists.txt
+@@ -39,21 +39,3 @@ add_custom_target(install_driver
+ WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}"
+ VERBATIM)
+
+-install(FILES ${CMAKE_CURRENT_BINARY_DIR}/Makefile.dkms
+- RENAME Makefile
+- DESTINATION "src/sysdig-${SYSDIG_VERSION}")
+-
+-install(FILES
+- ${CMAKE_CURRENT_BINARY_DIR}/dkms.conf
+- dynamic_params_table.c
+- event_table.c
+- flags_table.c
+- main.c
+- ppm.h
+- ppm_events.c
+- ppm_events.h
+- ppm_events_public.h
+- ppm_fillers.c
+- ppm_ringbuffer.h
+- syscall_table.c
+- DESTINATION "src/sysdig-${SYSDIG_VERSION}")
OpenPOWER on IntegriCloud