bcache-tools: don't use probe-bcache and bcache-register
This allows us not to include any additional binaries for bcache support in initrd; just an udev rule.
This commit is contained in:
@@ -19,10 +19,10 @@ stdenv.mkDerivation rec {
|
||||
-e "/INSTALL.*initcpio\/install/d" \
|
||||
-e "/INSTALL.*dracut\/module-setup.sh/d" \
|
||||
-i Makefile
|
||||
|
||||
sed -e "s|/sbin/modprobe|${kmod}/sbin/modprobe|" -i bcache-register
|
||||
'';
|
||||
|
||||
patches = [ ./bcache-udev-modern.patch ];
|
||||
|
||||
preBuild = ''
|
||||
export makeFlags="$makeFlags PREFIX=\"$out\" UDEVLIBDIR=\"$out/lib/udev/\"";
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user