Merge pull request #104776 from grahamc/utillinux
utillinux: rename to util-linux
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, pkgconfig, utillinux, bash }:
|
||||
{ stdenv, fetchurl, pkgconfig, util-linux, bash }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "bcache-tools";
|
||||
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ utillinux ];
|
||||
buildInputs = [ util-linux ];
|
||||
|
||||
# * Remove broken install rules (they ignore $PREFIX) for stuff we don't need
|
||||
# anyway (it's distro specific stuff).
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, runCommand, fetchFromGitHub, bash, btrfs-progs, coreutils, python3Packages, utillinux }:
|
||||
{ stdenv, runCommand, fetchFromGitHub, bash, btrfs-progs, coreutils, python3Packages, util-linux }:
|
||||
|
||||
let
|
||||
|
||||
@@ -15,7 +15,7 @@ let
|
||||
|
||||
buildInputs = [
|
||||
btrfs-progs # for btrfs/ioctl.h
|
||||
utillinux # for uuid.h
|
||||
util-linux # for uuid.h
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
@@ -56,7 +56,8 @@ let
|
||||
in
|
||||
|
||||
runCommand "bees-service" {
|
||||
inherit bash bees coreutils utillinux;
|
||||
inherit bash bees coreutils;
|
||||
utillinux = util-linux; # needs to be a valid shell variable name
|
||||
btrfsProgs = btrfs-progs; # needs to be a valid shell variable name
|
||||
} ''
|
||||
mkdir -p -- "$out/bin"
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
, nss ? null, nspr ? null
|
||||
|
||||
# Linux Only Dependencies
|
||||
, linuxHeaders, utillinux, libuuid, udev, keyutils, rdma-core, rabbitmq-c
|
||||
, linuxHeaders, util-linux, libuuid, udev, keyutils, rdma-core, rabbitmq-c
|
||||
, libaio ? null, libxfs ? null, zfs ? null
|
||||
, ...
|
||||
}:
|
||||
@@ -148,7 +148,7 @@ in rec {
|
||||
malloc zlib openldap lttng-ust babeltrace gperf gtest cunit
|
||||
snappy rocksdb lz4 oathToolkit leveldb libnl libcap_ng rdkafka
|
||||
] ++ optionals stdenv.isLinux [
|
||||
linuxHeaders utillinux libuuid udev keyutils optLibaio optLibxfs optZfs
|
||||
linuxHeaders util-linux libuuid udev keyutils optLibaio optLibxfs optZfs
|
||||
# ceph 14
|
||||
rdma-core rabbitmq-c
|
||||
] ++ optionals hasRadosgw [
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, parted, utillinux, pkg-config }:
|
||||
{ stdenv, fetchFromGitHub, parted, util-linux, pkg-config }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
||||
@@ -12,10 +12,10 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "1vhz84kxfyl0q7mkqn68nvzzly0a4xgzv76m6db0bk7xyczv1qr2";
|
||||
};
|
||||
|
||||
buildInputs = [ parted utillinux ];
|
||||
buildInputs = [ parted util-linux ];
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
propagatedBuildInputs = [ parted utillinux ];
|
||||
propagatedBuildInputs = [ parted util-linux ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "The FAT16/FAT32 non-destructive resizer";
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{stdenv, fetchurl, fuse, bison, flex_2_5_35, openssl, python3, ncurses, readline,
|
||||
autoconf, automake, libtool, pkgconfig, zlib, libaio, libxml2, acl, sqlite,
|
||||
liburcu, attr, makeWrapper, coreutils, gnused, gnugrep, which,
|
||||
openssh, gawk, findutils, utillinux, lvm2, btrfs-progs, e2fsprogs, xfsprogs, systemd,
|
||||
openssh, gawk, findutils, util-linux, lvm2, btrfs-progs, e2fsprogs, xfsprogs, systemd,
|
||||
rsync, glibc, rpcsvc-proto, libtirpc
|
||||
}:
|
||||
let
|
||||
@@ -24,7 +24,7 @@ let
|
||||
buildInputs = [
|
||||
fuse bison flex_2_5_35 openssl ncurses readline
|
||||
autoconf automake libtool pkgconfig zlib libaio libxml2
|
||||
acl sqlite liburcu attr makeWrapper utillinux libtirpc
|
||||
acl sqlite liburcu attr makeWrapper util-linux libtirpc
|
||||
(python3.withPackages (pkgs: [
|
||||
pkgs.flask
|
||||
pkgs.prettytable
|
||||
@@ -56,7 +56,7 @@ let
|
||||
openssh # ssh
|
||||
rsync # rsync, e.g. for geo-replication
|
||||
systemd # systemctl
|
||||
utillinux # mount umount
|
||||
util-linux # mount umount
|
||||
which # which
|
||||
xfsprogs # xfs_info
|
||||
];
|
||||
@@ -76,9 +76,9 @@ stdenv.mkDerivation
|
||||
substituteInPlace libglusterfs/src/glusterfs/lvm-defaults.h \
|
||||
--replace '/sbin/' '${lvm2}/bin/'
|
||||
substituteInPlace libglusterfs/src/glusterfs/compat.h \
|
||||
--replace '/bin/umount' '${utillinux}/bin/umount'
|
||||
--replace '/bin/umount' '${util-linux}/bin/umount'
|
||||
substituteInPlace contrib/fuse-lib/mount-gluster-compat.h \
|
||||
--replace '/bin/mount' '${utillinux}/bin/mount'
|
||||
--replace '/bin/mount' '${util-linux}/bin/mount'
|
||||
'';
|
||||
|
||||
# Note that the VERSION file is something that is present in release tarballs
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# FIXME: Unify with pkgs/development/python-modules/blivet/default.nix.
|
||||
|
||||
{ stdenv, fetchurl, buildPythonApplication, pykickstart, pyparted, pyblock
|
||||
, libselinux, cryptsetup, multipath_tools, lsof, utillinux
|
||||
, libselinux, cryptsetup, multipath_tools, lsof, util-linux
|
||||
, useNixUdev ? true, systemd ? null
|
||||
# useNixUdev is here for bw compatibility
|
||||
}:
|
||||
@@ -24,11 +24,11 @@ buildPythonApplication rec {
|
||||
sed -i -e 's|"multipath"|"${multipath_tools}/sbin/multipath"|' \
|
||||
blivet/devicelibs/mpath.py blivet/devices.py
|
||||
sed -i -e '/"wipefs"/ {
|
||||
s|wipefs|${utillinux.bin}/sbin/wipefs|
|
||||
s|wipefs|${util-linux.bin}/sbin/wipefs|
|
||||
s/-f/--force/
|
||||
}' blivet/formats/__init__.py
|
||||
sed -i -e 's|"lsof"|"${lsof}/bin/lsof"|' blivet/formats/fs.py
|
||||
sed -i -r -e 's|"(u?mount)"|"${utillinux.bin}/bin/\1"|' blivet/util.py
|
||||
sed -i -r -e 's|"(u?mount)"|"${util-linux.bin}/bin/\1"|' blivet/util.py
|
||||
sed -i -e '/find_library/,/find_library/ {
|
||||
c libudev = "${stdenv.lib.getLib systemd}/lib/libudev.so.1"
|
||||
}' blivet/pyudev.py
|
||||
|
||||
@@ -13,7 +13,7 @@ let
|
||||
inherit stdenv fetchurl buildPythonApplication;
|
||||
inherit pykickstart pyparted pyblock cryptsetup libselinux multipath_tools;
|
||||
inherit useNixUdev;
|
||||
inherit (pkgs) lsof utillinux systemd;
|
||||
inherit (pkgs) lsof util-linux systemd;
|
||||
};
|
||||
|
||||
cryptsetup = import ./cryptsetup.nix {
|
||||
@@ -27,7 +27,7 @@ let
|
||||
|
||||
lvm2 = import ./lvm2.nix {
|
||||
inherit stdenv fetchurl;
|
||||
inherit (pkgs) fetchpatch pkgconfig utillinux systemd coreutils;
|
||||
inherit (pkgs) fetchpatch pkgconfig util-linux systemd coreutils;
|
||||
};
|
||||
|
||||
multipath_tools = import ./multipath-tools.nix {
|
||||
@@ -37,7 +37,7 @@ let
|
||||
|
||||
parted = import ./parted.nix {
|
||||
inherit stdenv fetchurl;
|
||||
inherit (pkgs) fetchpatch utillinux readline libuuid gettext check lvm2;
|
||||
inherit (pkgs) fetchpatch util-linux readline libuuid gettext check lvm2;
|
||||
};
|
||||
|
||||
pyblock = import ./pyblock.nix {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, fetchpatch, pkgconfig, systemd, utillinux, coreutils }:
|
||||
{ stdenv, fetchurl, fetchpatch, pkgconfig, systemd, util-linux, coreutils }:
|
||||
|
||||
let
|
||||
v = "2.02.106";
|
||||
@@ -60,7 +60,7 @@ stdenv.mkDerivation {
|
||||
postInstall =
|
||||
''
|
||||
substituteInPlace $out/lib/udev/rules.d/13-dm-disk.rules \
|
||||
--replace $out/sbin/blkid ${utillinux.bin}/sbin/blkid
|
||||
--replace $out/sbin/blkid ${util-linux.bin}/sbin/blkid
|
||||
|
||||
# Systemd stuff
|
||||
mkdir -p $out/etc/systemd/system $out/lib/systemd/system-generators
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ stdenv, fetchurl, fetchpatch, lvm2, libuuid, gettext, readline
|
||||
, utillinux, check, enableStatic ? false }:
|
||||
, util-linux, check, enableStatic ? false }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "parted-3.1";
|
||||
@@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
|
||||
++ stdenv.lib.optional enableStatic "--enable-static";
|
||||
|
||||
doCheck = true;
|
||||
checkInputs = [ check utillinux ];
|
||||
checkInputs = [ check util-linux ];
|
||||
|
||||
meta = {
|
||||
description = "Create, destroy, resize, check, and copy partitions";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{stdenv, fetchurl, utillinux, libuuid
|
||||
{stdenv, fetchurl, util-linux, libuuid
|
||||
, crypto ? false, libgcrypt, gnutls, pkgconfig}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@@ -19,8 +19,8 @@ stdenv.mkDerivation rec {
|
||||
substituteInPlace src/Makefile.in --replace /sbin '@sbindir@'
|
||||
substituteInPlace ntfsprogs/Makefile.in --replace /sbin '@sbindir@'
|
||||
substituteInPlace libfuse-lite/mount_util.c \
|
||||
--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
|
||||
'';
|
||||
|
||||
configureFlags = [
|
||||
|
||||
Reference in New Issue
Block a user