]> git.sesse.net Git - bcachefs-tools-debian/blob - initramfs/bcache
Adding autotools support to bcache-tools
[bcachefs-tools-debian] / initramfs / bcache
1 #!/bin/sh
2
3 PREREQ="udev"
4
5 prereqs()
6 {
7         echo "$PREREQ"
8 }
9
10 case $1 in
11 prereqs)
12         prereqs
13         exit 0
14         ;;
15 esac
16
17 . /usr/share/initramfs-tools/hook-functions
18
19 cp -pt "${DESTDIR}/lib/udev/rules.d" /lib/udev/rules.d/61-bcache.rules
20 copy_exec /lib/udev/bcache-register
21 copy_exec /sbin/probe-bcache
22 manual_add_modules bcache