2014-07-14 18:09:29 +02:00
|
|
|
From 0299c9f31fb0c5794747a6a7f62c32abd9a49754 Mon Sep 17 00:00:00 2001
|
|
|
|
From: Hannes Reinecke <hare@suse.de>
|
|
|
|
Date: Thu, 10 Jul 2014 14:56:54 +0200
|
|
|
|
Subject: 95dasd_rules: Store all devices in commandline
|
|
|
|
|
|
|
|
'for_each_host_dev_and_slaves' would stop at the first found
|
|
|
|
device, so the cmdline() call would never list all required
|
|
|
|
devices. Use 'for_each_host_dev_and_slaves_all' instead and
|
|
|
|
filter out duplicates.
|
|
|
|
|
|
|
|
Signed-off-by: Hannes Reinecke <hare@suse.de>
|
|
|
|
---
|
|
|
|
modules.d/95dasd_rules/module-setup.sh | 4 ++--
|
|
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
|
2015-06-30 14:59:59 +02:00
|
|
|
Index: dracut-042/modules.d/95dasd_rules/module-setup.sh
|
2015-03-31 16:12:12 +02:00
|
|
|
===================================================================
|
2015-06-30 14:59:59 +02:00
|
|
|
--- dracut-042.orig/modules.d/95dasd_rules/module-setup.sh 2015-06-24 18:02:10.881458552 +0200
|
|
|
|
+++ dracut-042/modules.d/95dasd_rules/module-setup.sh 2015-06-24 18:02:15.149701540 +0200
|
|
|
|
@@ -12,8 +12,8 @@ cmdline() {
|
2014-07-14 18:09:29 +02:00
|
|
|
return 0
|
|
|
|
}
|
|
|
|
[[ $hostonly ]] || [[ $mount_needs ]] && {
|
|
|
|
- for_each_host_dev_and_slaves is_dasd || return 255
|
|
|
|
- }
|
|
|
|
+ for_each_host_dev_and_slaves_all is_dasd || return 255
|
|
|
|
+ } | sort | uniq
|
|
|
|
}
|
|
|
|
|
|
|
|
# called by dracut
|