diff --git a/dracut-init.sh b/dracut-init.sh index fe1b1426..27abb07b 100644 --- a/dracut-init.sh +++ b/dracut-init.sh @@ -921,8 +921,10 @@ check_module() { [[ $2 ]] || mods_checked_as_dep+=" $_mod " if [[ " $omit_dracutmodules " == *\ $_mod\ * ]]; then - ddebug "dracut module '$_mod' will not be installed, because it's in the list to be omitted!" - return 1 + if [[ " $force_add_dracutmodules " != *\ $_mod\ * ]]; then + ddebug "Module '$_mod' will not be installed, because it's in the list to be omitted!" + return 1 + fi fi if [[ " $dracutmodules $add_dracutmodules $force_add_dracutmodules" == *\ $_mod\ * ]]; then