Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Patching in AWG into a full kernel build does not work #35

Open
romanrm opened this issue Oct 15, 2024 · 0 comments
Open

Patching in AWG into a full kernel build does not work #35

romanrm opened this issue Oct 15, 2024 · 0 comments

Comments

@romanrm
Copy link

romanrm commented Oct 15, 2024

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:

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant