summaryrefslogtreecommitdiff
path: root/debian/patches/disable-incremental-assembly.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/disable-incremental-assembly.patch')
-rw-r--r--debian/patches/disable-incremental-assembly.patch12
1 files changed, 7 insertions, 5 deletions
diff --git a/debian/patches/disable-incremental-assembly.patch b/debian/patches/disable-incremental-assembly.patch
index 693a65d..d5886ab 100644
--- a/debian/patches/disable-incremental-assembly.patch
+++ b/debian/patches/disable-incremental-assembly.patch
@@ -1,12 +1,14 @@
---- a/udev-md-raid-assembly.rules
-+++ b/udev-md-raid-assembly.rules
+Index: mdadm/udev-md-raid-assembly.rules
+===================================================================
+--- mdadm.orig/udev-md-raid-assembly.rules
++++ mdadm/udev-md-raid-assembly.rules
@@ -25,6 +25,9 @@ GOTO="md_inc_end"
-
+
LABEL="md_inc"
-
+
+# Disable incremental assembly to fix Debian bug #784070
+GOTO="md_inc_end"
+
# remember you can limit what gets auto/incrementally assembled by
# mdadm.conf(5)'s 'AUTO' and selectively whitelist using 'ARRAY'
- ACTION=="add|change", IMPORT{program}="BINDIR/mdadm --incremental --export $tempnode --offroot ${DEVLINKS}"
+ ACTION=="add|change", IMPORT{program}="BINDIR/mdadm --incremental --export $devnode --offroot ${DEVLINKS}"