From 109b7e0ba78028138353781a63775f40ce7c111f Mon Sep 17 00:00:00 2001 From: Burt P Date: Tue, 19 Jun 2018 18:19:04 -0500 Subject: [PATCH] README: Add dkms instructions for #95 Signed-off-by: Burt P Signed-off-by: Guenter Roeck --- README | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) 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 ----------------- -- 2.39.5