Author: eelco
Date: Wed Mar 30 14:57:51 2011
New Revision: 26609
URL: https://svn.nixos.org/websvn/nix/?rev=26609&sc=1
Log:
* Set Nova's state path to /var/lib/nova.
Modified:
nixpkgs/branches/modular-python/pkgs/applications/virtualization/openstack-compute/default.nix
Modified:
nixpkgs/branches/modular-python/pkgs/applications/virtualization/openstack-compute/default.nix
==============================================================================
---
nixpkgs/branches/modular-python/pkgs/applications/virtualization/openstack-compute/default.nix
Wed Mar 30 14:42:20 2011 (r26608)
+++
nixpkgs/branches/modular-python/pkgs/applications/virtualization/openstack-compute/default.nix
Wed Mar 30 14:57:51 2011 (r26609)
@@ -24,7 +24,14 @@
intltool
] ++ pythonPath;
- preConfigure = "export HOME=$(pwd)";
+ preConfigure =
+ ''
+ export HOME=$(pwd)
+
+ # Set the built-in state location to something sensible.
+ sed -i nova/flags.py \
+ -e "/DEFINE.*'state_path'/ s|../|/var/lib/nova|"
+ '';
buildPhase = "python setup.py build";
_______________________________________________
nix-commits mailing list
[email protected]
http://mail.cs.uu.nl/mailman/listinfo/nix-commits