]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
95dasd: Install kernel modules only once
authorHannes Reinecke <hare@suse.de>
Fri, 29 Nov 2013 12:13:42 +0000 (13:13 +0100)
committerHarald Hoyer <harald@redhat.com>
Thu, 5 Dec 2013 14:13:29 +0000 (15:13 +0100)
Move kernel module selection to 95dasd_mod and make 95dasd depend
on that module.

Signed-off-by: Hannes Reinecke <hare@suse.de>
modules.d/95dasd/module-setup.sh

index 861df296261758cca3092094020bab0128d4594e..16207bcd3de4e48efa245881c70a077d6c8eb60e 100755 (executable)
@@ -11,14 +11,10 @@ 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"