mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
net-vpn/amneziawg-modules: don't try to build on linux 6.19
See: https://github.com/amnezia-vpn/amneziawg-linux-kernel-module/issues/138 Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
@@ -20,9 +20,15 @@ CONFIG_CHECK="NET INET NET_UDP_TUNNEL CRYPTO_ALGAPI"
|
||||
|
||||
pkg_setup() {
|
||||
linux-mod-r1_pkg_setup
|
||||
|
||||
if kernel_is -lt 3 10 0; then
|
||||
die "This version of ${PN} requires Linux >= 3.10."
|
||||
fi
|
||||
|
||||
# https://github.com/amnezia-vpn/amneziawg-linux-kernel-module/issues/138
|
||||
if kernel_is -ge 6 19 0; then
|
||||
die "This version of ${PN} requires Linux < 6.19."
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
|
||||
Reference in New Issue
Block a user