diff options
author | Mike Gilbert <floppym@gentoo.org> | 2019-11-01 10:59:24 -0400 |
---|---|---|
committer | Ben Kohler <bkohler@gentoo.org> | 2019-11-01 11:22:55 -0500 |
commit | a039614386b3d371c93b6bbc5537919fb3498568 (patch) | |
tree | 9526edfef0dd7fcb91601845aec8440de03cd70b /net-wireless | |
parent | net-im/prosody: add v0.11.3 and clean up old versions (diff) | |
download | gentoo-a039614386b3d371c93b6bbc5537919fb3498568.tar.gz gentoo-a039614386b3d371c93b6bbc5537919fb3498568.tar.bz2 gentoo-a039614386b3d371c93b6bbc5537919fb3498568.zip |
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 <floppym@gentoo.org>
Signed-off-by: Ben Kohler <bkohler@gentoo.org>
Diffstat (limited to 'net-wireless')
-rw-r--r-- | net-wireless/iwd/iwd-9999.ebuild | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net-wireless/iwd/iwd-9999.ebuild b/net-wireless/iwd/iwd-9999.ebuild index 23be63d6ea2b..72992be15e11 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:" |