Hi, Kairui
That's a good idea to put the module dependency checks into the depends() in module-setup.sh. Thanks for the improvement.
Acked-by: Lianbo Jiang lijiang@redhat.com
在 2020年10月15日 18:16, Kairui Song 写道:
Now all dracut module dependency install code are in one place in module-setup.sh, and allows user to omit non-mandatory modules.
For example, squash module could be omitted by using: dracut_args --omit squash
Kairui Song (3): Move some dracut module dependencies checks to module-setup.sh Add a helper to omit non-mandatory dracut module Move watchdog detect and install code to module-setup.sh
dracut-module-setup.sh | 21 ++++++++++++++++++--- kdump-lib.sh | 12 ++++++++++++ mkdumprd | 27 --------------------------- 3 files changed, 30 insertions(+), 30 deletions(-)