Add 'make deb' step for Ubuntu

Tony Hutter 2017-09-25 12:09:00 -07:00
parent 313700b87c
commit 6e926507d2
1 changed files with 14 additions and 6 deletions

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