Updated configure options and to recommend deb-* and rpm-* targets
parent
e7643b1b01
commit
02e799a09b
|
@ -39,8 +39,8 @@ Building rpm-based DKMS and user packages can be done as follows:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
$ cd zfs
|
$ cd zfs
|
||||||
$ ./configure --with-config=srpm
|
$ ./configure
|
||||||
$ make -j1 pkg-utils rpm-dkms
|
$ make -j1 rpm-utils rpm-dkms
|
||||||
$ sudo yum localinstall *.$(uname -p).rpm *.noarch.rpm
|
$ 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
|
```sh
|
||||||
$ cd zfs
|
$ cd zfs
|
||||||
$ ./configure
|
$ ./configure
|
||||||
$ make -j1 pkg-utils pkg-kmod
|
$ make -j1 rpm-utils rpm-kmod
|
||||||
$ sudo yum localinstall *.$(uname -p).rpm
|
$ sudo yum localinstall *.$(uname -p).rpm
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -64,7 +64,7 @@ The process for building kABI-tracking kmods is almost identical to for building
|
||||||
```sh
|
```sh
|
||||||
$ cd zfs
|
$ cd zfs
|
||||||
$ ./configure --with-spec=redhat
|
$ ./configure --with-spec=redhat
|
||||||
$ make -j1 pkg-utils pkg-kmod
|
$ make -j1 rpm-utils rpm-kmod
|
||||||
$ sudo yum localinstall *.$(uname -p).rpm
|
$ 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
|
```sh
|
||||||
$ cd zfs
|
$ cd zfs
|
||||||
$ ./configure
|
$ ./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
|
$ 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
|
```sh
|
||||||
$ sudo apt-get install dkms
|
$ sudo apt-get install dkms
|
||||||
$ cd zfs
|
$ cd zfs
|
||||||
$ ./configure --with-config=srpm
|
$ ./configure
|
||||||
$ make -j1 pkg-utils deb-dkms
|
$ make -j1 deb-utils deb-dkms
|
||||||
$ for file in *.deb; do sudo gdebi -q --non-interactive $file; done
|
$ for file in *.deb; do sudo gdebi -q --non-interactive $file; done
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue