summarylogtreecommitdiffstats
path: root/zfs.install
diff options
context:
space:
mode:
Diffstat (limited to 'zfs.install')
-rw-r--r--zfs.install17
1 files changed, 17 insertions, 0 deletions
diff --git a/zfs.install b/zfs.install
new file mode 100644
index 000000000000..37c0f534d90b
--- /dev/null
+++ b/zfs.install
@@ -0,0 +1,17 @@
+post_install() {
+ check_initramfs
+}
+
+post_upgrade() {
+ check_initramfs
+}
+
+check_initramfs() {
+ echo " >>> To build the module for the current kernel use this command:
+ # dkms install zfs/0.6.4 -k _KERNEL_VERSION_HERE_
+ or just boot to kernel you want to built and do
+ # dkms install zfs/0.6.4 -k \$(uname -r)
+
+ >>> Always remember to install kernel headers!
+"
+}