Merge pull request #76843 from jakobrs/os-prober-dep
os-prober: add missing dmraid, lvm2 dependencies
This commit is contained in:
commit
edbf5d86e1
@ -5,7 +5,9 @@ grub2, # grub-mount and grub-probe
|
|||||||
cryptsetup, # cryptsetup
|
cryptsetup, # cryptsetup
|
||||||
libuuid, # blkid and blockdev
|
libuuid, # blkid and blockdev
|
||||||
udev, # udevadm udevinfo
|
udev, # udevadm udevinfo
|
||||||
ntfs3g # ntfs3g
|
ntfs3g, # ntfs3g
|
||||||
|
dmraid, # dmraid
|
||||||
|
lvm2 # lvs
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
@ -54,7 +56,7 @@ stdenv.mkDerivation rec {
|
|||||||
done;
|
done;
|
||||||
for file in $out/bin/*; do
|
for file in $out/bin/*; do
|
||||||
wrapProgram $file \
|
wrapProgram $file \
|
||||||
--suffix PATH : ${stdenv.lib.makeBinPath [ grub2 udev coreutils cryptsetup libuuid ntfs3g ]} \
|
--suffix PATH : ${stdenv.lib.makeBinPath [ grub2 udev coreutils cryptsetup libuuid ntfs3g lvm2 dmraid ]} \
|
||||||
--run "[ -d /var/lib/os-prober ] || mkdir /var/lib/os-prober"
|
--run "[ -d /var/lib/os-prober ] || mkdir /var/lib/os-prober"
|
||||||
done;
|
done;
|
||||||
'';
|
'';
|
||||||
|
Loading…
Reference in New Issue
Block a user