turn off transforward in f29 as it won't build anymore against 4.19
authorparmentelat <thierry.parmentelat@inria.fr>
Tue, 4 Dec 2018 14:23:01 +0000 (15:23 +0100)
committerparmentelat <thierry.parmentelat@inria.fr>
Tue, 4 Dec 2018 14:23:01 +0000 (15:23 +0100)
lxc.mk

diff --git a/lxc.mk b/lxc.mk
index 6548723..7786dfc 100644 (file)
--- a/lxc.mk
+++ b/lxc.mk
@@ -18,14 +18,19 @@ lxc-userspace-SPEC := lxc-userspace.spec
 ALL += lxc-userspace
 IN_NODEIMAGE += lxc-userspace
 
-#
 #
 # transforward: root context module for transparent port forwarding
 #
+# with 4.19, the jprobe api has gone entirely
+# https://github.com/torvalds/linux/commit/4de58696de076d9bd2745d1cbe0930635c3f5ac9
+#
+ifneq "$(DISTRONAME)" "$(filter $(DISTRONAME), f29)"
+#
 transforward-MODULES := transforward
 transforward-SPEC := transforward.spec
 ALL += transforward
 IN_NODEIMAGE += transforward
+endif
 
 #
 # procprotect: root context module for protecting against weaknesses in /proc