[WireGuard] [PATCH 1/1] add DKMS configuration file

Christian Hesse list at eworm.de
Tue Jun 28 22:50:30 CEST 2016


"Jason A. Donenfeld" <Jason at zx2c4.com> on Tue, 2016/06/28 22:16:
> Hey Christian,
> 
> Good to see you in this neck of the lists.zx2c4.com woods! :P

:-P

> I see you saw my call for DKMS in the roadmap page?

No, I did not... DKMS is my preferred way of packaging external kernel
modules. I cloned, ran make and created dkms.conf for packaging. ;)

BTW, and Arch people here? Give it at try:
https://aur.archlinux.org/packages/wireguard-git/

> I haven't looked into the innerworkings of DKMS yet, but is this
> essentially how it works? We put this file in src/, and then
> everything is taken care of? Are their other flags and switches and
> variables to take into account? Or is this pretty much it?

Basically that's all we need. Put everything (dkms.conf, Makefile, *.c,
*.h, crypto/) into /usr/src/wireguard-$version, run

$ dkms install -m wireguard -v $version -k $kernelversion

and load the module.

We could add version handling and install target to the Makefile, but that's
optional. I will look into that the next days.
-- 
main(a){char*c=/*    Schoene Gruesse                         */"B?IJj;MEH"
"CX:;",b;for(a/*    Best regards             my address:    */=0;b=c[a++];)
putchar(b-1/(/*    Chris            cc -ox -xc - && ./x    */b/42*2-3)*42);}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.zx2c4.com/pipermail/wireguard/attachments/20160628/f852bfb0/attachment.asc>


More information about the WireGuard mailing list