Updated configure options and to recommend deb-* and rpm-* targets

Brian Behlendorf 2020-05-13 12:25:12 -07:00
parent e7643b1b01
commit 02e799a09b
1 changed files with 7 additions and 7 deletions

@ -39,8 +39,8 @@ Building rpm-based DKMS and user packages can be done as follows:
```sh
$ cd zfs
$ ./configure --with-config=srpm
$ make -j1 pkg-utils rpm-dkms
$ ./configure
$ make -j1 rpm-utils rpm-dkms
$ sudo yum localinstall *.$(uname -p).rpm *.noarch.rpm
```
@ -51,7 +51,7 @@ The key thing to know when building a kmod package is that a specific Linux kern
```sh
$ cd zfs
$ ./configure
$ make -j1 pkg-utils pkg-kmod
$ make -j1 rpm-utils rpm-kmod
$ sudo yum localinstall *.$(uname -p).rpm
```
@ -64,7 +64,7 @@ The process for building kABI-tracking kmods is almost identical to for building
```sh
$ cd zfs
$ ./configure --with-spec=redhat
$ make -j1 pkg-utils pkg-kmod
$ make -j1 rpm-utils rpm-kmod
$ sudo yum localinstall *.$(uname -p).rpm
```
@ -85,7 +85,7 @@ The key thing to know when building a kmod package is that a specific Linux kern
```sh
$ cd zfs
$ ./configure
$ make -j1 pkg-utils deb-kmod
$ make -j1 deb-utils deb-kmod
$ for file in *.deb; do sudo gdebi -q --non-interactive $file; done
```
@ -96,8 +96,8 @@ Building deb-based DKMS and user packages can be done as follows:
```sh
$ sudo apt-get install dkms
$ cd zfs
$ ./configure --with-config=srpm
$ make -j1 pkg-utils deb-dkms
$ ./configure
$ make -j1 deb-utils deb-dkms
$ for file in *.deb; do sudo gdebi -q --non-interactive $file; done
```