Skip to content

Commit

Permalink
RHEL and Fedora: Fix package installation order.
Browse files Browse the repository at this point in the history
Closes #238
Also see openzfs/zfs#12822

Signed-off-by: Maurice Zhou <[email protected]>
  • Loading branch information
Maurice Zhou authored and gmelikov committed Dec 15, 2021
1 parent 704cb2f commit 6f435e5
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 5 deletions.
8 changes: 7 additions & 1 deletion docs/Getting Started/Fedora/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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::

Expand Down
12 changes: 8 additions & 4 deletions docs/Getting Started/RHEL-based distro/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,17 @@ package, then the *kernel-devel* and *zfs* packages. Note that it is
important to make sure that the matching *kernel-devel* package is installed
for the running kernel since DKMS requires it to build OpenZFS.

For RHEL/CentOS versions 6 and 7 run::
For RHEL/CentOS versions 6 and 7, separately run::

yum install epel-release kernel-devel zfs
yum install -y epel-release
yum install -y kernel-devel
yum install -y zfs

And for RHEL/CentOS 8 and newer::
And for RHEL/CentOS 8 and newer, separately run::

dnf install epel-release kernel-devel zfs
dnf install -y epel-release
dnf install -y kernel-devel
dnf install -y zfs

.. note::
When switching from DKMS to kABI-tracking kmods first uninstall the
Expand Down

0 comments on commit 6f435e5

Please sign in to comment.