mdadm/mdadm-3.1.3-udev.patch
Doug Ledford d614064a7a - Comment out the incremental assembly rules from the main udev rule file
so we can control it in our own incremental assembly specific rule file
- Don't build the static package, we don't install it, also remove the
    glibc-static buildreq
2010-07-22 16:24:11 +00:00

16 lines
850 B
Diff

--- mdadm-3.1.3-git20100722/udev-md-raid.rules.no-incremental 2010-07-22 12:11:39.188967623 -0400
+++ mdadm-3.1.3-git20100722/udev-md-raid.rules 2010-07-22 12:12:24.298092552 -0400
@@ -3,8 +3,10 @@
SUBSYSTEM!="block", GOTO="md_end"
# handle potential components of arrays
-ENV{ID_FS_TYPE}=="linux_raid_member", ACTION=="remove", RUN+="/sbin/mdadm -If $name"
-ENV{ID_FS_TYPE}=="linux_raid_member", ACTION=="add", RUN+="/sbin/mdadm --incremental $env{DEVNAME}"
+# Note: in Fedora we handle incremental assembly in 65-incremental.rules so
+# we can do things like honor anaconda install options
+#ENV{ID_FS_TYPE}=="linux_raid_member", ACTION=="remove", RUN+="/sbin/mdadm -If $name"
+#ENV{ID_FS_TYPE}=="linux_raid_member", ACTION=="add", RUN+="/sbin/mdadm --incremental $env{DEVNAME}"
# handle md arrays
ACTION!="add|change", GOTO="md_end"