[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#40683] [PATCH] gnu: Add wireguard-module.
From: |
Tobias Geerinckx-Rice |
Subject: |
[bug#40683] [PATCH] gnu: Add wireguard-module. |
Date: |
Fri, 17 Apr 2020 18:47:49 +0200 |
Brice!
Brice Waegeneire 写道:
This patch add wireguard as a loadable Linux kernel module which
allow using
it Linux version < 5.6 without having to rebuild the entire
kernel.
Thanks!
+(define-public wireguard-module
+ (package
+ (inherit wireguard-linux-compat)
+ (name "wireguard-module")
2x s/module/linux-module/
+ (build-system linux-module-build-system)
+ (arguments
+ `(#:tests? #f ; No test suite
+ #:phases
+ (modify-phases %standard-phases
+ (add-before 'build 'change-directory
+ (lambda _
+ (chdir "./src")
+ #t)))))
+ (synopsis "WireGuard loadable kernel module for Linux 3.10
through 5.5")
+ (description "This is a loadable Linux kernel module for
WireGuard
+supporting kernel versions 3.10 through 5.5. WireGuard was
added to Linux
+5.6.
I think we should say ‘Linux-Libre’ here (yes, even though it
loads on any *Linux) but I'm never entirely sure.
It ought to be used by adding it to the
@code{kernel-loadable-modules}
+field and loaded in memeory by @command{modprobe} or
+@code{kernel-module-loader-service-type}.")))
This can go; it belongs in the manual and is already explained
there.
LGTM with these changes, but curious what others think about
‘Linux’,
T G-R
signature.asc
Description: PGP signature