1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 22:50:49 +00:00

One more lvm2 systemd part working.

I didn't need it, to boot fine... but that complaint of bad path isn't in
systemd boot anymore, at least.
This commit is contained in:
Lluís Batlle i Rossell 2013-09-20 11:45:50 +02:00
parent ad1971a1d1
commit d5a44b27fd

View file

@ -22,7 +22,8 @@ stdenv.mkDerivation {
substituteInPlace scripts/lvmdump.sh \
--replace /usr/bin/tr ${coreutils}/bin/tr
substituteInPlace scripts/lvm2_activation_generator_systemd_red_hat.c \
--replace /usr/sbin/lvm $out/sbin/lvm
--replace /usr/sbin/lvm $out/sbin/lvm \
--replace /usr/bin/udevadm ${udev}/bin/udevadm
sed -i /DEFAULT_SYS_DIR/d Makefile.in
sed -i /DEFAULT_PROFILE_DIR/d conf/Makefile.in