Merge pull request #363 from danimo/dracut_dmraid_use_udev

0202-dracut_dmraid_use_udev
master
Harald Hoyer 2018-01-17 18:32:52 +01:00 committed by GitHub
commit 83b19de168
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -33,8 +33,6 @@ if [ -n "$DM_RAIDS" ] || getargbool 0 rd.auto; then
if [ "${s##$r}" != "$s" ]; then
info "Activating $s"
dmraid -ay -i -p --rm_partitions "$s" 2>&1 | vinfo
[ -e "/dev/mapper/$s" ] && kpartx -a "/dev/mapper/$s" 2>&1 | vinfo
udevsettle
fi
done
done

View File

@ -74,6 +74,8 @@ install() {

inst "$moddir/dmraid.sh" /sbin/dmraid_scan

inst_rules 66-kpartx.rules 67-kpartx-compat.rules

inst_libdir_file "libdmraid-events*.so*"

inst_rules "$moddir/61-dmraid-imsm.rules"