diff --git a/Custom-Packages.md b/Custom-Packages.md index 8a9b9be..a2fdf61 100644 --- a/Custom-Packages.md +++ b/Custom-Packages.md @@ -98,9 +98,18 @@ The key thing to know when building a kmod package is that a specific Linux kern ``` $ cd spl $ ./configure +``` + +For RHEL, Centos, and Fedora: +``` $ make pkg-utils pkg-kmod ``` +For Debian and Ubuntu: +``` +$ make deb +``` + Install the spl packages. They are required dependencies to build zfs in the next step. For Debian and Ubuntu: @@ -123,17 +132,16 @@ $ ./configure $ make pkg-utils pkg-kmod ``` -For Debian and Ubuntu: - -``` -$ for file in *.deb; do sudo gdebi -q --non-interactive $file; done -``` - For RHEL, Centos, and Fedora: ``` $ sudo yum localinstall *..rpm ``` +For Debian and Ubuntu: + +``` +$ for file in *.deb; do sudo gdebi -q --non-interactive $file; done +``` ## kABI-tracking kmod (rpm-only)