os-prober: add missing dmraid dependency
If this is not done, dmraid is likely to not find OSes on RAID.
This commit is contained in:
parent
f5728ad5e7
commit
4de6c4dac7
@ -6,6 +6,7 @@ cryptsetup, # cryptsetup
|
||||
libuuid, # blkid and blockdev
|
||||
udev, # udevadm udevinfo
|
||||
ntfs3g, # ntfs3g
|
||||
dmraid, # dmraid
|
||||
lvm2 # lvs
|
||||
}:
|
||||
|
||||
@ -55,7 +56,7 @@ stdenv.mkDerivation rec {
|
||||
done;
|
||||
for file in $out/bin/*; do
|
||||
wrapProgram $file \
|
||||
--suffix PATH : ${stdenv.lib.makeBinPath [ grub2 udev coreutils cryptsetup libuuid ntfs3g lvm2 ]} \
|
||||
--suffix PATH : ${stdenv.lib.makeBinPath [ grub2 udev coreutils cryptsetup libuuid ntfs3g lvm2 dmraid ]} \
|
||||
--run "[ -d /var/lib/os-prober ] || mkdir /var/lib/os-prober"
|
||||
done;
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user