From: Burt P Date: Tue, 19 Jun 2018 23:19:04 +0000 (-0500) Subject: README: Add dkms instructions for #95 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=109b7e0ba78028138353781a63775f40ce7c111f;p=groeck-it87 README: Add dkms instructions for #95 Signed-off-by: Burt P Signed-off-by: Guenter Roeck --- diff --git a/README b/README index 45c6021..66a97e8 100644 --- a/README +++ b/README @@ -104,6 +104,31 @@ Building & Installing * 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 --all`, followed by + `rm -rf /usr/src/it87-`, should do. + `dkms status it87` can be used to list the installed versions. + + Module Parameters -----------------