summarylogtreecommitdiffstats
path: root/zfs-utils.install
diff options
context:
space:
mode:
Diffstat (limited to 'zfs-utils.install')
-rw-r--r--zfs-utils.install11
1 files changed, 11 insertions, 0 deletions
diff --git a/zfs-utils.install b/zfs-utils.install
new file mode 100644
index 000000000000..7aeca7919f0e
--- /dev/null
+++ b/zfs-utils.install
@@ -0,0 +1,11 @@
+post_upgrade() {
+
+ # If upgrading from 0.7.4-1 or older
+ # display zfs-import warning
+ if [[ $(vercmp $2 0.7.4-1) -le 0 ]]; then
+ echo '>>> WARNING: A new systemd unit file was added to archzfs!'
+ echo '>>> You may need enable zfs-import.target'
+ echo '>>> See https://github.com/archzfs/archzfs/issues/186'
+ fi
+
+}