utillinux: rename to util-linux

This commit is contained in:
Graham Christensen
2020-11-24 10:29:28 -05:00
parent 79086e5d55
commit bc49a0815a
265 changed files with 574 additions and 571 deletions

View File

@@ -1,6 +1,6 @@
{ stdenv, lib, fetchFromGitHub, makeWrapper
, apk-tools, coreutils, e2fsprogs, findutils, gnugrep, gnused, kmod, qemu-utils
, utillinux
, util-linux
}:
stdenv.mkDerivation rec {
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
postInstall = ''
wrapProgram $out/bin/alpine-make-vm-image --set PATH ${lib.makeBinPath [
apk-tools coreutils e2fsprogs findutils gnugrep gnused kmod qemu-utils
utillinux
util-linux
]}
'';

View File

@@ -4,7 +4,7 @@
, bash
, bashInteractive
, systemd
, utillinux
, util-linux
, boto
, setuptools
, distro
@@ -31,14 +31,14 @@ buildPythonApplication rec {
substituteInPlace "$file" \
--replace /bin/systemctl "/run/current-system/systemd/bin/systemctl" \
--replace /bin/bash "${bashInteractive}/bin/bash" \
--replace /sbin/hwclock "${utillinux}/bin/hwclock"
--replace /sbin/hwclock "${util-linux}/bin/hwclock"
# SELinux tool ??? /sbin/restorecon
done
substituteInPlace google_config/udev/64-gce-disk-removal.rules \
--replace /bin/sh "${bash}/bin/sh" \
--replace /bin/umount "${utillinux}/bin/umount" \
--replace /usr/bin/logger "${utillinux}/bin/logger"
--replace /bin/umount "${util-linux}/bin/umount" \
--replace /usr/bin/logger "${util-linux}/bin/logger"
'';
postInstall = ''

View File

@@ -1,4 +1,4 @@
{ substituteAll, perlPackages, shadow, utillinux }:
{ substituteAll, perlPackages, shadow, util-linux }:
substituteAll {
name = "nixos-container";
@@ -7,7 +7,7 @@ substituteAll {
src = ./nixos-container.pl;
perl = "${perlPackages.perl}/bin/perl -I${perlPackages.FileSlurp}/${perlPackages.perl.libPrefix}";
su = "${shadow.su}/bin/su";
inherit utillinux;
utillinux = util-linux;
postInstall = ''
t=$out/share/bash-completion/completions