Blame 0045-95dasd-Install-kernel-modules-only-once.patch

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