- Update with patches from git repository: * kernel-modules: add ohci-pci to the list of forced module installs * Run 'xz' and 'lzma' with multiple threads * systemd: do not exit the initqueue, if systemd asks a password * iscsi,nbd: do not fail in hostonly mode * dracut-functions.sh: Avoid loading unnecessary 32-bit libraries for 64-bit initrds * fips: also install /etc/system-fips in the initramfs * dracut.modules.7.asc: removed empty section * dracut.sh: fixed PATH shortener * dracut.spec: move /sbin/dracut to /usr/sbin/dracut * iscsi/nbd: do not try to mount the whole disk, if root= is missing * fips: include crct10dif_generic * Handle crypto modules with and without modaliases * usrmount/module-setup.sh: fixed typo * lvm: always install thin utils for lvm * kernel-modules(ARM): add mmc_block usb_storage to static list of kernel mods * dracut-functions.sh:check_block_and_slaves*() skip LVM internal devs * mkdir basic dirs in /run * network/fcoe: only redirect output to loginit.pipe, if exists * dracut.sh: no need to make subdirs in run * dracut.sh: also mkdir /run/lock, which is copied to * lvm: fix thin recognition * Add lzo, lz4 compression and read INITRD_COMPRESS * remove resume-genrules.sh * resume: fix swap detection in hostonly * base/init.sh: also mkdir /run/lock * dmsquash-live: add /dev/mapper/live-base * Doc: cleanup, extend and split and reuse OBS-URL: https://build.opensuse.org/request/show/208892 OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=82
38 lines
989 B
Diff
38 lines
989 B
Diff
From 0c3400336c7916819fd24b8081e24098880ef244 Mon Sep 17 00:00:00 2001
|
|
From: Hannes Reinecke <hare@suse.de>
|
|
Date: Thu, 21 Nov 2013 11:51:30 +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 <hare@suse.de>
|
|
---
|
|
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
|
|
--
|
|
1.8.1.4
|
|
|