dracut-functions: fixed --omit
parent
c492fe12c0
commit
578c24a473
|
|
@ -528,6 +528,7 @@ check_modules() {
|
|||
strstr " $mods_to_load " " $mod " && continue
|
||||
# This should never happen, but...
|
||||
[[ -d $moddir ]] || continue
|
||||
strstr " $omit_dracutmodules " " $mod " && continue
|
||||
|
||||
if ! strstr " $dracutmodules $add_dracutmodules " " $mod "; then
|
||||
# module not in our list
|
||||
|
|
|
|||
Loading…
Reference in New Issue