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>
master
Hannes Reinecke 2014-07-10 14:56:54 +02:00 committed by Daniel Molkentin
parent 2600b54c18
commit 05bf320972
1 changed files with 2 additions and 2 deletions

View File

@ -12,8 +12,8 @@ cmdline() {
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