I compile my own kernel from mainline source and then make a .deb of that.
I would like to make it so that this kernel includes the AWG module as a part of its build.
In the upstream WireGuard, a script called "jury-rig.sh" was used for that, before WG got included into mainline.
AWG also ships this file in the "kernel-tree-scripts" directory. But it appears it has not been edited from "wireguard" to "amneziawg", not touched in any way in 5 years, and does not seem to work. With some manual fixups, all I could reach was:
In file included from net/amneziawg/noise.h:8,
from net/amneziawg/device.h:9,
from net/amneziawg/main.c:8:
net/amneziawg/messages.h:9:10: fatal error: zinc/curve25519.h: No such file or directory
9 | #include <zinc/curve25519.h>
| ^~~~~~~~~~~~~~~~~~~
compilation terminated.
Could you try out that script, and ensure it works and could be used for such build process?
Or how to achieve the same otherwise? Thanks
Hello,
I compile my own kernel from mainline source and then make a .deb of that. I would like to make it so that this kernel includes the AWG module as a part of its build. In the upstream WireGuard, a script called "jury-rig.sh" was used for that, before WG got included into mainline. AWG also ships this file in the "kernel-tree-scripts" directory. But it appears it has not been edited from "wireguard" to "amneziawg", not touched in any way in 5 years, and does not seem to work. With some manual fixups, all I could reach was:
Could you try out that script, and ensure it works and could be used for such build process? Or how to achieve the same otherwise? Thanks