fix(dracut-functions.sh): check kernel config from $dracutsysrootdir
Signed-off-by: Zoltán Böszörményi <zboszor@pr.hu>master
parent
951c6655f1
commit
560f45b15f
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue