From 690905cea07bdf1783c86522927efb5fd9b5a299 Mon Sep 17 00:00:00 2001 From: Hannes Reinecke Date: Fri, 29 Nov 2013 13:13:42 +0100 Subject: [PATCH] 95dasd: Install kernel modules only once Move kernel module selection to 95dasd_mod and make 95dasd depend on that module. Signed-off-by: Hannes Reinecke --- modules.d/95dasd/module-setup.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/modules.d/95dasd/module-setup.sh b/modules.d/95dasd/module-setup.sh index 861df29..16207bc 100755 --- a/modules.d/95dasd/module-setup.sh +++ b/modules.d/95dasd/module-setup.sh @@ -11,15 +11,11 @@ check() { # called by dracut depends() { + echo "dasd_mod" return 0 } # called by dracut -installkernel() { - instmods dasd_mod dasd_eckd_mod dasd_fba_mod dasd_diag_mod -} - -# called by dracut install() { inst_hook cmdline 30 "$moddir/parse-dasd.sh" inst_multiple dasdinfo dasdconf.sh normalize_dasd_arg