From 6e926507d23d9b0745efc5251c24cea2af3ce57f Mon Sep 17 00:00:00 2001 From: Tony Hutter Date: Mon, 25 Sep 2017 12:09:00 -0700 Subject: [PATCH] Add 'make deb' step for Ubuntu --- Custom-Packages.md | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) 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)