Gentoo Archives: gentoo-commits

From: Ben Kohler <bkohler@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-wireless/iwd/
Date: Thu, 03 Sep 2020 17:37:48
Message-Id: 1599154653.0338bf162978025ca9260648dbcdbd457c9a2bf4.bkohler@gentoo
1 commit: 0338bf162978025ca9260648dbcdbd457c9a2bf4
2 Author: Ben Kohler <bkohler <AT> gentoo <DOT> org>
3 AuthorDate: Thu Sep 3 13:29:19 2020 +0000
4 Commit: Ben Kohler <bkohler <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 3 17:37:33 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0338bf16
7
8 net-wireless/iwd: add kernel version check related to crda support
9
10 Closes: https://bugs.gentoo.org/736545
11 Package-Manager: Portage-3.0.5, Repoman-3.0.1
12 Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>
13
14 net-wireless/iwd/iwd-1.8-r1.ebuild | 4 ++++
15 1 file changed, 4 insertions(+)
16
17 diff --git a/net-wireless/iwd/iwd-1.8-r1.ebuild b/net-wireless/iwd/iwd-1.8-r1.ebuild
18 index 61bd996e8df..aa4d449bc90 100644
19 --- a/net-wireless/iwd/iwd-1.8-r1.ebuild
20 +++ b/net-wireless/iwd/iwd-1.8-r1.ebuild
21 @@ -93,6 +93,10 @@ pkg_setup() {
22 check_extra_config
23
24 if ! use crda; then
25 + if use kernel_linux && kernel_is -lt 4 15; then
26 + ewarn "POSSIBLE REGULATORY DOMAIN PROBLEM:"
27 + ewarn "Regulatory domain support for kernels older than 4.15 requires crda."
28 + fi
29 if linux_config_exists && linux_chkconfig_builtin CFG80211 &&
30 [[ $(linux_chkconfig_string EXTRA_FIRMWARE) != *regulatory.db* ]]
31 then