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
parent
2600b54c18
commit
05bf320972
|
@ -12,8 +12,8 @@ cmdline() {
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
[[ $hostonly ]] || [[ $mount_needs ]] && {
|
[[ $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
|
# called by dracut
|
||||||
|
|
Loading…
Reference in New Issue