utillinux: rename to util-linux
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, pkgconfig, perl, utillinux, keyutils, nss, nspr, python2, pam, enablePython ? false
|
||||
{ stdenv, fetchurl, pkgconfig, perl, util-linux, keyutils, nss, nspr, python2, pam, enablePython ? false
|
||||
, intltool, makeWrapper, coreutils, bash, gettext, cryptsetup, lvm2, rsync, which, lsof }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@@ -17,8 +17,8 @@ stdenv.mkDerivation rec {
|
||||
FILES="$(grep -r '/bin/sh' src/utils -l; find src -name \*.c)"
|
||||
for file in $FILES; do
|
||||
substituteInPlace "$file" \
|
||||
--replace /bin/mount ${utillinux}/bin/mount \
|
||||
--replace /bin/umount ${utillinux}/bin/umount \
|
||||
--replace /bin/mount ${util-linux}/bin/mount \
|
||||
--replace /bin/umount ${util-linux}/bin/umount \
|
||||
--replace /sbin/mount.ecryptfs_private ${wrapperDir}/mount.ecryptfs_private \
|
||||
--replace /sbin/umount.ecryptfs_private ${wrapperDir}/umount.ecryptfs_private \
|
||||
--replace /sbin/mount.ecryptfs $out/sbin/mount.ecryptfs \
|
||||
|
||||
Reference in New Issue
Block a user