From 0338bf162978025ca9260648dbcdbd457c9a2bf4 Mon Sep 17 00:00:00 2001 From: Ben Kohler Date: Thu, 3 Sep 2020 08:29:19 -0500 Subject: net-wireless/iwd: add kernel version check related to crda support Closes: https://bugs.gentoo.org/736545 Package-Manager: Portage-3.0.5, Repoman-3.0.1 Signed-off-by: Ben Kohler --- net-wireless/iwd/iwd-1.8-r1.ebuild | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'net-wireless') diff --git a/net-wireless/iwd/iwd-1.8-r1.ebuild b/net-wireless/iwd/iwd-1.8-r1.ebuild index 61bd996e8df6..aa4d449bc90c 100644 --- a/net-wireless/iwd/iwd-1.8-r1.ebuild +++ b/net-wireless/iwd/iwd-1.8-r1.ebuild @@ -93,6 +93,10 @@ pkg_setup() { check_extra_config if ! use crda; then + if use kernel_linux && kernel_is -lt 4 15; then + ewarn "POSSIBLE REGULATORY DOMAIN PROBLEM:" + ewarn "Regulatory domain support for kernels older than 4.15 requires crda." + fi if linux_config_exists && linux_chkconfig_builtin CFG80211 && [[ $(linux_chkconfig_string EXTRA_FIRMWARE) != *regulatory.db* ]] then -- cgit v1.2.3-65-gdbad