wireguard: needs 3.10+ kernel
PATCH 1/1 wireguard: needs 3.10+ kernel
The dependency is actually only for the kernel module (and thus on the runtime kernel version rather than kernel headers), but as we don't know the runtime version in kconfig this will have to do.
--- package/wireguard/Config.in | 4 ++++ 1 file changed, 4 insertions(+)
package/wireguard/Config.in +4 -0
@@ -1,5 +1,6 @@ config BR2_PACKAGE_WIREGUARD bool "wireguard" + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10 select BR2_PACKAGE_LIBMNL help WireGuard is an extremely simple yet fast and modern VPN
@@ -16,3 +17,6 @@ config BR2_PACKAGE_WIREGUARD VPN solution in the industry. https://www.wireguard.com + +comment "wireguard needs a toolchain w/ headers > 3.10" + depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
Signature · 1 line
2.11.0
PATCH 1/1 wireguard: needs 3.10+ kernel
Hi Peter,
Looks like I don't manage to apply any of your patches today :-)
Quoted 14 lines · Peter Korsgaard
The dependency is actually only for the kernel module (and thus on the runtime kernel version rather than kernel headers), but as we don't know the runtime version in kconfig this will have to do.
Signed-off-by Peter Korsgaard <[email protected]>--- package/wireguard/Config.in | 4 ++++ 1 file changed, 4 insertions(+)package/wireguard/Config.in +0
-0
package/wireguard/Config.in line 3
Quoted 3 lines
package/wireguard/Config.in +1
-0@@ -1,5 +1,6 @@ config BR2_PACKAGE_WIREGUARD bool "wireguard" + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
The kernel module is only built if BR2_LINUX_KERNEL=y, so shouldn't this be
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10 || !BR2_LINUX_KERNEL
? And of course in the comment as well.
In addition, I think you should add the (abbreviated) contents of the commit
message as a comment here, otherwise it's not at all clear.
Regards,
Arnout
Quoted 11 lines
package/wireguard/Config.in +3
-0select BR2_PACKAGE_LIBMNL help WireGuard is an extremely simple yet fast and modern VPN@@ -16,3 +17,6 @@ config BR2_PACKAGE_WIREGUARD VPN solution in the industry. https://www.wireguard.com + +comment "wireguard needs a toolchain w/ headers > 3.10" + depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
Signature · 6 lines
Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286500 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
PATCH 1/1 wireguard: needs 3.10+ kernel
Quoted 26 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Arnout" == Arnout Vandecappelle <[email protected]> writes:
Hi Peter,
Looks like I don't manage to apply any of your patches today :-)Quoted 16 lines · Peter Korsgaard
The dependency is actually only for the kernel module (and thus on the runtime kernel version rather than kernel headers), but as we don't know the runtime version in kconfig this will have to do.
Signed-off-by Peter Korsgaard <[email protected]>---
package/wireguard/Config.in | 4 ++++1 file changed, 4 insertions(+)package/wireguard/Config.in +0
-0@@ -1,5 +1,6 @@config
BR2_PACKAGE_WIREGUARD
bool "wireguard"package/wireguard/Config.in line 3
Quoted 1 line
package/wireguard/Config.in +1
-0+ depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10The kernel module is only built if BR2_LINUX_KERNEL=y, so shouldn't this be
Quoted 1 line
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10 || !BR2_LINUX_KERNEL
That was my first thought as well, but it doesn't make much sense to build the user space part if the kernel is too old, and I couldn't come up with a good and clear wording for the comment - So I opted to keep it simple.
But we can change it if you feel strongly about it. What do you suggest for the comment text?
Quoted 4 lines
? And of course in the comment as well.
In addition, I think you should add the (abbreviated) contents of the commit
message as a comment here, otherwise it's not at all clear.
Ok, I can do that when applying.
Signature · 1 line
Bye, Peter Korsgaard
PATCH 1/1 wireguard: needs 3.10+ kernel
Quoted 26 lines · Peter Korsgaard
Quoted 25 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Arnout" == Arnout Vandecappelle <[email protected]> writes:
Hi Peter,
Looks like I don't manage to apply any of your patches today :-)Quoted 16 lines · Peter Korsgaard
The dependency is actually only for the kernel module (and thus on the runtime kernel version rather than kernel headers), but as we don't know the runtime version in kconfig this will have to do.
Signed-off-by Peter Korsgaard <[email protected]>---
package/wireguard/Config.in | 4 ++++1 file changed, 4 insertions(+)package/wireguard/Config.in +0
-0@@ -1,5 +1,6 @@config
BR2_PACKAGE_WIREGUARD
bool "wireguard"package/wireguard/Config.in line 3
Quoted 1 line
package/wireguard/Config.in +1
-0+ depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10The kernel module is only built if BR2_LINUX_KERNEL=y, so shouldn't this be
Quoted 4 lines
Quoted 1 line
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10 || !BR2_LINUX_KERNELThat was my first thought as well, but it doesn't make much sense to build the user space part if the kernel is too old,
That's true indeed, could you add that reasoning to the commit message? Then
there's no need to complicate the dependency.
Quoted 6 lines
and I couldn't come
up with a good and clear wording for the comment - So I opted to keep it simple.But we can change it if you feel strongly about it. What do you suggest for the comment text?
# kernel module requires 3.10+, userspace makes no sense without it
Regards,
Arnout
Quoted 8 lines
Quoted 5 lines
? And of course in the comment as well.
In addition, I think you should add the (abbreviated) contents of the commit
message as a comment here, otherwise it's not at all clear.Ok, I can do that when applying.
Signature · 6 lines
Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286500 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
PATCH 1/1 wireguard: needs 3.10+ kernel
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Arnout" == Arnout Vandecappelle <[email protected]> writes:
Hi,
Quoted 6 lines
Quoted 2 lines
That was my first thought as well, but it doesn't make much sense to build the user space part if the kernel is too old,
That's true indeed, could you add that reasoning to the commit message? Then
there's no need to complicate the dependency.
Quoted 8 lines
Quoted 6 lines
and I couldn't come
up with a good and clear wording for the comment - So I opted to keep it simple.But we can change it if you feel strongly about it. What do you suggest for the comment text?
# kernel module requires 3.10+, userspace makes no sense without it
Committed with these fixes, thanks.
Signature · 1 line
Bye, Peter Korsgaard