zfs: fix udev rules
This patch fixes Nixos checking of udev rules: Checking that all programs call by absolute paths in udev rules exist ... FAIL /lib/udev/vdev_id is called in udev rules but not installed by udev
This commit is contained in:
parent
b70d41d309
commit
85140f590a
@ -16,6 +16,7 @@ stdenv.mkDerivation {
|
||||
preConfigure = ''
|
||||
substituteInPlace ./module/zfs/zfs_ctldir.c --replace "umount -t zfs" "${utillinux}/bin/umount -t zfs"
|
||||
substituteInPlace ./module/zfs/zfs_ctldir.c --replace "mount -t zfs" "${utillinux}/bin/mount -t zfs"
|
||||
substituteInPlace ./udev/rules.d/* --replace "/lib/udev/vdev_id" "$out/lib/udev/vdev_id"
|
||||
'';
|
||||
|
||||
configureFlags = ''
|
||||
|
Loading…
Reference in New Issue
Block a user