Permalink
Browse files

experimentally add and build wireguard

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 c7afbc1fd2efdb9e1149d271c4d2be59cc5c98f4
Showing with 49,056 additions and 1 deletion.
  1. +4 −0 cmd/rtr7-build-kernel/build.go
  2. +3 −1 cmd/rtr7-rebuild-kernel/kernel.go
  3. BIN vmlinuz
  4. +49,049 −0 wireguard.patch
@@ -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 {
@@ -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)
View
BIN +84 KB (100%) vmlinuz
Binary file not shown.
Oops, something went wrong.

0 comments on commit c7afbc1

Please sign in to comment.