[PATCH v2 1/1] add dkms configuration file dkms.conf

Jason A. Donenfeld Jason at zx2c4.com
Tue Dec 6 19:14:47 CET 2016

On Tue, Dec 6, 2016 at 10:35 AM, Christian Hesse <list at eworm.de> wrote:
> "Jason A. Donenfeld" <Jason at zx2c4.com> on Sat, 2016/12/03 23:21:
> > I like the general idea here of including dkim in WireGuard now,
> 'dkim' is mail security... We have dkms. ;)


> For Arch Linux we install dkms sources to /usr/src/$pkgname-$pkgver, so for
> wireguard we have: /usr/src/wireguard-0.0.20161129/
> To have something like this would be great:
> make DESTDIR="$pkgdir/" DKMSDIR="/usr/src/$pkgname-$pkgver" dkms

How does this look to you:

You can simply run:

make DESTDIR="$pkgdir/" DKMSDIR="/usr/src/$pkgname-$pkgver" dkms-install

You can also adjust SRCDIR or PREFIX, but I imagine you'll want to
keep these as is. All variables are also inherited from the
environment, so if the package manager sets these globally, things are
even easier.

What do you think of that?

More information about the WireGuard mailing list