#!/bin/bash
-inst cryptsetup
+inst cryptsetup
+inst dmeventd
inst_rules "$moddir/70-luks.rules"
inst "$moddir"/cryptroot-ask.sh /sbin/cryptroot-ask
inst_hook cmdline 30 "$moddir/parse-crypt.sh"
inst_hook pre-pivot 30 "$moddir/crypt-cleanup.sh"
inst_hook pre-pivot 31 "$moddir/crypt-cleanup.sh"
+inst_rules 10-dm.rules 95-dm-notify.rules
#!/bin/bash
-dracut_install dmraid partx kpartx
+dracut_install dmraid partx kpartx dmeventd
inst "$moddir/dmraid.sh" /sbin/dmraid_scan
if [ ! -x /lib/udev/vol_id ]; then
inst "$moddir/dmraid-cleanup.sh" /sbin/dmraid-cleanup
inst_hook pre-trigger 30 "$moddir/parse-dm.sh"
+inst_rules 10-dm.rules 12-dm-disk.rules 95-dm-notify.rules
+
#!/bin/bash
inst lvm
+inst dmeventd
inst_rules "$moddir/64-lvm.rules" 64-lvm.rules
[ -f /etc/lvm/lvm.conf ] && inst /etc/lvm/lvm.conf
fi
+dracut_install /lib*/libdevmapper-event-lvm2mirror.so* /lib*/libdevmapper-event-lvm2snapshot.so*
+inst_rules 10-dm.rules 12-dm-disk.rules 95-dm-notify.rules 11-lvm.rules
+
inst "$moddir/lvm_scan.sh" /sbin/lvm_scan
inst_hook cmdline 30 "$moddir/parse-lvm.sh"
inst "$moddir/lvm-cleanup.sh" /sbin/lvm-cleanup
dracut_install basename
inst_rules 50-udev-default.rules 60-persistent-storage.rules \
61-persistent-storage-edd.rules 80-drivers.rules 95-udev-late.rules \
- 60-pcmcia.rules
+ 60-pcmcia.rules
#Some debian udev rules are named differently
inst_rules 50-udev.rules 95-late.rules