python-blivet: Patch in paths for mount and lsof.

This adds the correct store paths for mount, umount and lsof to blivet as these
commands are still generic enough to _not_ add them as a dependency.

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

View file

@ -471,6 +471,8 @@ pythonPackages = python.modules // rec {
s|wipefs|${pkgs.utillinux}/sbin/wipefs|
s/-f/--force/
}' 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
'';
propagatedBuildInputs = let