Skip to content

Commit

Permalink
Better method for installing a working dkms
Browse files Browse the repository at this point in the history
  • Loading branch information
al177 committed Apr 30, 2018
1 parent 7369924 commit 59575d4
Showing 1 changed file with 8 additions and 12 deletions.
20 changes: 8 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,17 +48,13 @@ The module will be named esp8089-dkms_*.deb. Don't forget to update the version
in dkms.conf and committing before making a release!


If the build fails to create a source package, try applying the following patch from https://bugs.launchpad.net/ubuntu/+source/dkms/+bug/1729051:

--- a/etc/dkms/template-dkms-mkdeb/debian/control 2017-10-31 14:40:41.690069116 -0300
+++ b/etc/dkms/template-dkms-mkdeb/debian/control 2017-10-31 14:41:12.137973994 -0300
@@ -6,6 +6,6 @@
Standards-Version: 3.8.1

Package: DEBIAN_PACKAGE-dkms
-Architecture: all
+Architecture: DEBIAN_BUILD_ARCH
Depends: dkms (>= 1.95), ${misc:Depends}
Description: DEBIAN_PACKAGE driver in DKMS format.
If the build fails to create a source package, try installing dkms from github:

sudo apt-get remove dkms
sudo apt-get install devscripts quilt
git clone https://github.com/dell/dkms.git
cd dkms
sed -ie "s/module-init-tools/kmod/g" debian/control
make debs

and install the resulting package in dist/

0 comments on commit 59575d4

Please sign in to comment.