aboutsummaryrefslogtreecommitdiffstats
path: root/testing/flashcache-grsec/depmod.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-07-11 14:09:07 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-07-11 14:09:07 +0000
commit783ca90f26987937ee21ade19f699d51b44805c6 (patch)
tree6342edd9b8a23bccf7672ab486a444aec634ef7e /testing/flashcache-grsec/depmod.patch
parent8b583c1fe4ccb002c7162d017c684407a00b6e9c (diff)
downloadaports-783ca90f26987937ee21ade19f699d51b44805c6.tar.bz2
aports-783ca90f26987937ee21ade19f699d51b44805c6.tar.xz
testing/flashcache-grsec: moved back from unmaintained and upgrade to 3.1.2
this supports 3.14 kernel
Diffstat (limited to 'testing/flashcache-grsec/depmod.patch')
-rw-r--r--testing/flashcache-grsec/depmod.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/testing/flashcache-grsec/depmod.patch b/testing/flashcache-grsec/depmod.patch
new file mode 100644
index 0000000000..15c0615057
--- /dev/null
+++ b/testing/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