RHEL and Fedora: Fix package installation order.

Closes #238
Also see openzfs/zfs#12822

Signed-off-by: Maurice Zhou <jasper@apvc.uk>
This commit is contained in:
Maurice Zhou
2021-12-14 22:13:56 +01:00
committed by George Melikov
parent 704cb2f8b8
commit 6f435e59e4
2 changed files with 15 additions and 5 deletions

View File

@@ -26,9 +26,15 @@ see below.
dnf install -y https://zfsonlinux.org/fedora/zfs-release$(rpm -E %dist).noarch.rpm
#. Install kernel headers::
dnf install -y kernel-devel
``kernel-devel`` package must be installed before ``zfs`` package.
#. Install ZFS packages::
dnf install -y kernel-devel zfs
dnf install -y zfs
#. Load kernel module::