README: Add dkms instructions for #95

Signed-off-by: Burt P <pburt0@gmail.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
This commit is contained in:
Burt P
2018-06-19 18:19:04 -05:00
committed by Guenter Roeck
parent bfbaf881f5
commit 109b7e0ba7

25
README
View File

@@ -104,6 +104,31 @@ Building & Installing
* sudo make install * sudo make install
Using DKMS
----------
To install:
* sudo make dkms
To remove:
* sudo make dkms_clean
Notes:
* The module does not provide a real version number, so `git describe --long`
is used to create one. This means that anything that changes the git state
will change the version. `make dkms_clean` should be run before making a
commit or an update with `git pull` as the Makefile is currently unable to
track the last installed version to replace it. If this doesn't happen, the
old version will need to be manually removed from dkms, before installing
the updated module.
Something like `dkms remove -m it87 -v <old version> --all`, followed by
`rm -rf /usr/src/it87-<old version>`, should do.
`dkms status it87` can be used to list the installed versions.
Module Parameters Module Parameters
----------------- -----------------