From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7E57F138334 for ; Fri, 1 Nov 2019 16:23:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B08E5E0819; Fri, 1 Nov 2019 16:23:58 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8F4FFE0819 for ; Fri, 1 Nov 2019 16:23:58 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E80FE34C662 for ; Fri, 1 Nov 2019 16:23:56 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5FD16883 for ; Fri, 1 Nov 2019 16:23:54 +0000 (UTC) From: "Ben Kohler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ben Kohler" Message-ID: <1572625375.a039614386b3d371c93b6bbc5537919fb3498568.bkohler@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-wireless/iwd/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-wireless/iwd/iwd-9999.ebuild X-VCS-Directories: net-wireless/iwd/ X-VCS-Committer: bkohler X-VCS-Committer-Name: Ben Kohler X-VCS-Revision: a039614386b3d371c93b6bbc5537919fb3498568 X-VCS-Branch: master Date: Fri, 1 Nov 2019 16:23:54 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 0c37400c-1ba7-42a2-b70b-4c07713c568b X-Archives-Hash: df7028750b8f1389952fccbf617aa57a commit: a039614386b3d371c93b6bbc5537919fb3498568 Author: Mike Gilbert gentoo org> AuthorDate: Fri Nov 1 14:59:24 2019 +0000 Commit: Ben Kohler gentoo org> CommitDate: Fri Nov 1 16:22:55 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0396143 net-wireless/iwd: improve kernel checks Bug: https://bugs.gentoo.org/699042 Package-Manager: Portage-2.3.78_p4, Repoman-2.3.17_p100 Signed-off-by: Mike Gilbert gentoo.org> Signed-off-by: Ben Kohler gentoo.org> net-wireless/iwd/iwd-9999.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net-wireless/iwd/iwd-9999.ebuild b/net-wireless/iwd/iwd-9999.ebuild index 23be63d6ea2..72992be15e1 100644 --- a/net-wireless/iwd/iwd-9999.ebuild +++ b/net-wireless/iwd/iwd-9999.ebuild @@ -86,8 +86,8 @@ pkg_pretend() { check_extra_config if ! use crda; then - if [[ $(getfilevar CONFIG_CFG80211 /usr/src/linux/.config) == y ]] \ - && [[ $(getfilevar CONFIG_EXTRA_FIRMWARE /usr/src/linux/.config) != *regulatory.db* ]] + if linux_config_exists && linux_chkconfig_builtin CFG80211 && + [[ $(linux_chkconfig_string EXTRA_FIRMWARE) != *regulatory.db* ]] then ewarn "" ewarn "REGULATORY DOMAIN PROBLEM:"