python-blivet: Fix pvscan to not require lvmetad.

The --cache argument to pvscan won't work on NixOS, for specifics about this,
please have a look at:

http://www.mail-archive.com/pld-cvs-commit@lists.pld-linux.org/msg310821.html

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
aszlig 2013-06-28 03:31:11 +02:00
parent 64d2bbc7e8
commit 082252bc16
No known key found for this signature in database
GPG Key ID: D0EBD0EC8C2DC961

View File

@ -473,6 +473,7 @@ pythonPackages = python.modules // rec {
}' blivet/formats/__init__.py
sed -i -e 's|"lsof"|"${pkgs.lsof}/bin/lsof"|' blivet/formats/fs.py
sed -i -r -e 's|"(u?mount)"|"${pkgs.utillinux}/bin/\1"|' blivet/util.py
sed -i '/pvscan/s/, *"--cache"//' blivet/devicelibs/lvm.py
'';
propagatedBuildInputs = let