python-blivet: Fix udev path for Debian Wheezy.
Only affects "useNixUdev = false" and we now include the udev paths for the latest Debian Wheezy release, so we can properly deploy Hetzner machines with NixOps again as they've updated their rescue system to Wheezy. This fixes NixOS/nixops#137, thanks to @lovek323 for reporting. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
@@ -36,7 +36,9 @@ in buildPythonPackage rec {
|
||||
c libudev = "${udev}/lib/libudev.so.1"
|
||||
}' blivet/pyudev.py
|
||||
'' else ''
|
||||
sed -i -e '/^somajor *=/s/=.*/= ${toString udevSoMajor}/p' \
|
||||
sed -i \
|
||||
-e '/^somajor *=/s/=.*/= ${toString udevSoMajor}/p' \
|
||||
-e 's|common =.*|& + ["/lib/x86_64-linux-gnu", "/lib/i686-linux-gnu"]|' \
|
||||
blivet/pyudev.py
|
||||
'');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user