summaryrefslogtreecommitdiffstats
path: root/debian/patches/no_tools_links
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/no_tools_links')
-rw-r--r--debian/patches/no_tools_links12
1 files changed, 12 insertions, 0 deletions
diff --git a/debian/patches/no_tools_links b/debian/patches/no_tools_links
new file mode 100644
index 0000000..3553989
--- /dev/null
+++ b/debian/patches/no_tools_links
@@ -0,0 +1,12 @@
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -112,9 +112,6 @@ install-exec-hook:
+ mv $(DESTDIR)$(libdir)/libkmod.so.* $(DESTDIR)$(rootlibdir); \
+ fi
+ if BUILD_TOOLS
+- for tool in insmod lsmod rmmod depmod modprobe modinfo; do \
+- $(LN_S) kmod $(DESTDIR)$(bindir)/$$tool; \
+- done
+ endif
+
+ uninstall-hook: