Skip to content

Commit

Permalink
experimentally add and build wireguard
Browse files Browse the repository at this point in the history
I need it temporarily over the next few weeks. Let’s see how much maintenance
effort it is to keep it in.
  • Loading branch information
stapelberg committed Oct 15, 2018
1 parent 4281fc1 commit c7afbc1
Show file tree
Hide file tree
Showing 4 changed files with 49,056 additions and 1 deletion.
4 changes: 4 additions & 0 deletions cmd/rtr7-build-kernel/build.go
Expand Up @@ -91,6 +91,10 @@ CONFIG_KEXEC_FILE=y
# For apu2c4 watchdog
CONFIG_SP5100_TCO=y
# For WireGuard
CONFIG_NET_UDP_TUNNEL=y
CONFIG_WIREGUARD=y
`

func downloadKernel() error {
Expand Down
4 changes: 3 additions & 1 deletion cmd/rtr7-rebuild-kernel/kernel.go
Expand Up @@ -53,7 +53,9 @@ var dockerFileTmpl = template.Must(template.New("dockerfile").
}).
Parse(dockerFileContents))

var patchFiles = []string{}
var patchFiles = []string{
"wireguard.patch",
}

func copyFile(dest, src string) error {
out, err := os.Create(dest)
Expand Down
Binary file modified vmlinuz
Binary file not shown.

0 comments on commit c7afbc1

Please sign in to comment.