summaryrefslogtreecommitdiff
path: root/initramfs
diff options
context:
space:
mode:
authorGabriel <g2p.code@gmail.com>2013-10-05 21:16:21 +0200
committerGabriel <g2p.code@gmail.com>2013-10-05 22:16:22 +0200
commit0c7a484a5b09d710814451c06ad30e894deb7ff5 (patch)
treea2112a892f9f11c157c6b9c4d47db4f27e6fb6d0 /initramfs
parent866e21a35d40e8c5df75cdc7146da88c17cc18d1 (diff)
udev: Fit into the standard rule sequencev1.0.2
Move the rule to run a bit later, after the standard udev rules have called blkid. Don't run blkid manually, and run probe-bcache as a fallback which can be patched out in a package that depends on util-linux 2.24+. probe-bcache: bail if libblkid finds anything Preserve our last-resort safety check here in case earlier rules fail to call blkid.
Diffstat (limited to 'initramfs')
-rwxr-xr-xinitramfs/hook2
1 files changed, 1 insertions, 1 deletions
diff --git a/initramfs/hook b/initramfs/hook
index ce328f3..5890fe2 100755
--- a/initramfs/hook
+++ b/initramfs/hook
@@ -16,7 +16,7 @@ esac
. /usr/share/initramfs-tools/hook-functions
-cp -pt "${DESTDIR}/lib/udev/rules.d" /lib/udev/rules.d/61-bcache.rules
+cp -pt "${DESTDIR}/lib/udev/rules.d" /lib/udev/rules.d/69-bcache.rules
copy_exec /lib/udev/bcache-register
copy_exec /sbin/probe-bcache
manual_add_modules bcache