Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(RHEL-26114) feat(dracut-init.sh): give --force-add precedence over --omit #95

Merged
merged 1 commit into from
Aug 19, 2024

Commits on Aug 19, 2024

  1. 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
    pvalena committed Aug 19, 2024
    Configuration menu
    Copy the full SHA
    888e74d View commit details
    Browse the repository at this point in the history