aboutsummaryrefslogtreecommitdiffstats
path: root/main/flashcache-grsec/depmod.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-10-23 09:35:05 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-10-23 09:35:05 +0000
commit83507b0af1ff05a470d062769b4455e3e4ee2c6c (patch)
treec83b981162a354ab94381029fb3f98a7e351b144 /main/flashcache-grsec/depmod.patch
parentf5c280973fdc7ff0a7b031ba98157cc509f5ad56 (diff)
downloadaports-83507b0af1ff05a470d062769b4455e3e4ee2c6c.tar.bz2
aports-83507b0af1ff05a470d062769b4455e3e4ee2c6c.tar.xz
main/flashcashe: moved from testing
fixes #2221
Diffstat (limited to 'main/flashcache-grsec/depmod.patch')
-rw-r--r--main/flashcache-grsec/depmod.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/main/flashcache-grsec/depmod.patch b/main/flashcache-grsec/depmod.patch
new file mode 100644
index 0000000000..15c0615057
--- /dev/null
+++ b/main/flashcache-grsec/depmod.patch
@@ -0,0 +1,20 @@
+--- ./src/Makefile.orig 2013-08-15 11:20:54.575932175 +0000
++++ ./src/Makefile 2013-08-15 11:21:37.813472296 +0000
+@@ -24,6 +24,8 @@
+ KERNEL_TREE := $(RHEL5_TREE)
+ endif
+
++DEPMOD ?= depmod
++
+ obj-m += flashcache.o
+ flashcache-objs := flashcache_conf.o flashcache_main.o flashcache_subr.o flashcache_ioctl.o flashcache_procfs.o
+
+@@ -42,7 +44,7 @@
+ modules_install: modules
+ install -o root -g root -m 0755 -d $(DESTDIR)/lib/modules/$(KERNEL_SOURCE_VERSION)/extra/flashcache/
+ install -o root -g root -m 0755 flashcache.ko $(DESTDIR)/lib/modules/$(KERNEL_SOURCE_VERSION)/extra/flashcache/
+- depmod -a $(KERNEL_SOURCE_VERSION)
++ $(DEPMOD) -a $(KERNEL_SOURCE_VERSION)
+
+ .PHONY: utils_install
+ utils_install: utils