summarylogtreecommitdiffstats
path: root/spl.install
diff options
context:
space:
mode:
authorhoshino2017-12-21 21:20:46 +0900
committerhoshino2017-12-21 21:27:01 +0900
commit7616e91413d375e4f16576445c337c31c79bd835 (patch)
treee0b69ab18c6834f060c4f2ee221dd33b373abac7 /spl.install
downloadaur-my-spl-linux.tar.gz
ZFS on Arch kernel version = 4.14.7-1
Diffstat (limited to 'spl.install')
-rw-r--r--spl.install16
1 files changed, 16 insertions, 0 deletions
diff --git a/spl.install b/spl.install
new file mode 100644
index 000000000000..e91899fab1be
--- /dev/null
+++ b/spl.install
@@ -0,0 +1,16 @@
+post_install() {
+ run_depmod
+}
+
+post_remove() {
+ run_depmod
+}
+
+post_upgrade() {
+ run_depmod
+}
+
+run_depmod() {
+ echo ">>> Updating SPL module dependencies"
+ depmod -a 4.14.7-1-ARCH
+}