mirror of
https://github.com/koverstreet/bcachefs-tools.git
synced 2025-02-09 00:00:04 +03:00
thie enables building it in a different directory, more flexible install and configure options, and should make it easier to eventualy create deb and rpm packages. Additionally this makes it much easier to build and test this package as it now behaves the same way as others we are using.
23 lines
311 B
Bash
Executable File
23 lines
311 B
Bash
Executable File
#!/bin/sh
|
|
|
|
PREREQ="udev"
|
|
|
|
prereqs()
|
|
{
|
|
echo "$PREREQ"
|
|
}
|
|
|
|
case $1 in
|
|
prereqs)
|
|
prereqs
|
|
exit 0
|
|
;;
|
|
esac
|
|
|
|
. /usr/share/initramfs-tools/hook-functions
|
|
|
|
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
|