Blame bcache-tools-20131018-noprobe.patch

Rolf Fokkens 64697ee
--- bcache-tools-20131018/69-bcache.rules.2	2013-10-18 19:34:38.907431161 +0200
Rolf Fokkens 64697ee
+++ bcache-tools-20131018/69-bcache.rules	2013-10-18 19:41:18.540320493 +0200
Rolf Fokkens 64697ee
@@ -6,17 +6,10 @@
Rolf Fokkens 64697ee
 ENV{DM_UDEV_DISABLE_OTHER_RULES_FLAG}=="1", GOTO="bcache_end"
Rolf Fokkens 64697ee
 
Rolf Fokkens 64697ee
 # blkid was run by the standard udev rules
Rolf Fokkens 64697ee
-# It recognised bcache (util-linux 2.24+)
Rolf Fokkens 64697ee
-ENV{ID_FS_TYPE}=="bcache", GOTO="bcache_backing_found"
Rolf Fokkens 64697ee
-# It recognised something else; bail
Rolf Fokkens 64697ee
-ENV{ID_FS_TYPE}=="?*", GOTO="bcache_backing_end"
Rolf Fokkens 64697ee
-
Rolf Fokkens 64697ee
 # Backing devices: scan, symlink, register
Rolf Fokkens 64697ee
-IMPORT{program}="probe-bcache -o udev $tempnode"
Rolf Fokkens 64697ee
 ENV{ID_FS_TYPE}!="bcache", GOTO="bcache_backing_end"
Rolf Fokkens 64697ee
 ENV{ID_FS_UUID_ENC}=="?*", SYMLINK+="disk/by-uuid/$env{ID_FS_UUID_ENC}"
Rolf Fokkens 64697ee
 
Rolf Fokkens 64697ee
-LABEL="bcache_backing_found"
Rolf Fokkens 64697ee
 RUN+="bcache-register $tempnode"
Rolf Fokkens 64697ee
 LABEL="bcache_backing_end"
Rolf Fokkens 64697ee
 
Rolf Fokkens 64697ee
--- bcache-tools-20131018/dracut/module-setup.sh.udevfix	2013-10-11 13:21:56.000000000 +0200
Rolf Fokkens 64697ee
+++ bcache-tools-20131018/dracut/module-setup.sh	2013-10-18 19:11:37.596140492 +0200
Rolf Fokkens 64697ee
@@ -29,6 +29,6 @@
Rolf Fokkens 64697ee
 }
Rolf Fokkens 64697ee
 
Rolf Fokkens 64697ee
 install() {
Rolf Fokkens 64697ee
-    inst_multiple ${udevdir}/probe-bcache ${udevdir}/bcache-register
Rolf Fokkens 64697ee
+    inst_multiple ${udevdir}/bcache-register
Rolf Fokkens 64697ee
     inst_rules 69-bcache.rules
Rolf Fokkens 64697ee
 }