summaryrefslogtreecommitdiff
path: root/initramfs/hook
diff options
context:
space:
mode:
Diffstat (limited to 'initramfs/hook')
-rwxr-xr-xinitramfs/hook4
1 files changed, 3 insertions, 1 deletions
diff --git a/initramfs/hook b/initramfs/hook
index 3c429d0..ce328f3 100755
--- a/initramfs/hook
+++ b/initramfs/hook
@@ -16,5 +16,7 @@ esac
. /usr/share/initramfs-tools/hook-functions
-copy_exec /bin/mknod
+cp -pt "${DESTDIR}/lib/udev/rules.d" /lib/udev/rules.d/61-bcache.rules
+copy_exec /lib/udev/bcache-register
+copy_exec /sbin/probe-bcache
manual_add_modules bcache