multipath_tools: Rename to multipath-tools

See http://nixos.org/nixpkgs/manual/#sec-package-naming

I've added an alias for multipath_tools to make sure that we don't break
existing configurations referencing the old name.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
aszlig
2016-01-21 16:07:38 +01:00
parent 05fed13de3
commit c92d7481a5
4 changed files with 7 additions and 6 deletions

View File

@@ -1,5 +1,5 @@
{ stdenv, fetchFromGitHub, buildPythonPackage, pykickstart, pyparted, pyblock
, pyudev, six, libselinux, cryptsetup, multipath_tools, lsof, utillinux
, pyudev, six, libselinux, cryptsetup, multipath-tools, lsof, utillinux
}:
let
@@ -19,7 +19,7 @@ in buildPythonPackage rec {
postPatch = ''
sed -i \
-e 's|"multipath"|"${multipath_tools}/sbin/multipath"|' \
-e 's|"multipath"|"${multipath-tools}/sbin/multipath"|' \
-e '/^def set_friendly_names/a \ return False' \
blivet/devicelibs/mpath.py
sed -i -e '/"wipefs"/ {