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>
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:"