Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(dracut-init.sh): give --force-add precedence over --omit
This gives precedence of force_add_dracutmodules to omit_dracutmodules, as there is not other way to override omit_dracutmodules list, and users would expect it to be overriden from command line. Ref: dracut-ng/dracut-ng#569 This way, `--add` retains it behaviour, and `--force-add` gains additional functionality in non-hostonly mode. The module may still be skipped if the module check returns 1, but it should throw error (as I'd expect for `--force-add`). Ref: https://issues.redhat.com/browse/RHEL-26114 (cherry picked from commit a669346f48cbb3278c51ba5e95b1b91f9bfdee0a) Resolves: RHEL-26114
- Loading branch information