package/sysdig: fix incorrect module name
authorAngelo Compagnucci <angelo.compagnucci@gmail.com>
Mon, 14 Aug 2017 06:35:48 +0000 (08:35 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 14 Aug 2017 20:14:09 +0000 (22:14 +0200)
Latest version of sysdig introduced a variable for the kernel module
name. This patch updates that variable into Makefile.in.

Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/sysdig/sysdig.mk

index 2d5ad23c50f3b0049e347aec04577bb5660e2934..ecafb9d297890b0f04f93b2aaad72d818ad28f42 100644 (file)
@@ -24,6 +24,7 @@ SYSDIG_SUPPORTS_IN_SOURCE_BUILD = NO
 define SYSDIG_MODULE_GEN_MAKEFILE
        $(INSTALL) -m 0644 $(@D)/driver/Makefile.in $(@D)/driver/Makefile
        $(SED) 's/@KBUILD_FLAGS@//;' $(@D)/driver/Makefile
+       $(SED) 's/@PROBE_NAME@/sysdig-probe/;' $(@D)/driver/Makefile
 endef
 SYSDIG_POST_PATCH_HOOKS += SYSDIG_MODULE_GEN_MAKEFILE