systemd: Use the right path to util-linux binaries
This commit is contained in:
parent
cc8db57097
commit
a4a2b88f29
|
@ -52,11 +52,11 @@ stdenv.mkDerivation rec {
|
|||
for i in src/remount-fs/remount-fs.c src/core/mount.c src/core/swap.c src/fsck/fsck.c units/emergency.service.in units/rescue.service.m4.in src/journal/cat.c; do
|
||||
test -e $i
|
||||
substituteInPlace $i \
|
||||
--replace /bin/mount ${utillinux}/bin/mount \
|
||||
--replace /bin/umount ${utillinux}/bin/umount \
|
||||
--replace /sbin/swapon ${utillinux}/sbin/swapon \
|
||||
--replace /sbin/swapoff ${utillinux}/sbin/swapoff \
|
||||
--replace /sbin/fsck ${utillinux}/sbin/fsck \
|
||||
--replace /bin/mount ${utillinux.bin}/bin/mount \
|
||||
--replace /bin/umount ${utillinux.bin}/bin/umount \
|
||||
--replace /sbin/swapon ${utillinux.bin}/sbin/swapon \
|
||||
--replace /sbin/swapoff ${utillinux.bin}/sbin/swapoff \
|
||||
--replace /sbin/fsck ${utillinux.bin}/sbin/fsck \
|
||||
--replace /bin/echo ${coreutils}/bin/echo \
|
||||
--replace /bin/cat ${coreutils}/bin/cat \
|
||||
--replace /sbin/sulogin ${sysvtools}/sbin/sulogin
|
||||
|
|
Loading…
Reference in New Issue