fix(dracut-functions.sh): check kernel config from $dracutsysrootdir

Signed-off-by: Zoltán Böszörményi <zboszor@pr.hu>
master
Zoltán Böszörményi 2021-01-19 10:39:17 +01:00 committed by Jóhann B. Guðmundsson
parent 951c6655f1
commit 560f45b15f
1 changed files with 1 additions and 1 deletions

View File

@ -668,7 +668,7 @@ check_kernel_config()
# no kernel config file, so return true
[[ $_config_file ]] || return 0

grep -q -F "${_config_opt}=" "$_config_file" && return 0
grep -q -F "${_config_opt}=" "$dracutsysrootdir$_config_file" && return 0
return 1
}