diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2010-10-06 16:04:04 +0000 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2010-10-06 16:04:04 +0000 |
commit | 3137cb5c5931d3e674201cd68fdf2acef5b1842a (patch) | |
tree | 6475182c0913d1b937e15ef5e1f48319403a5ad2 /pkgs/applications/virtualization/xen | |
parent | 4e9457501420fb9d5a0dec0d87a6e4cec8ed4fcf (diff) | |
download | nixpkgs-3137cb5c5931d3e674201cd68fdf2acef5b1842a.tar nixpkgs-3137cb5c5931d3e674201cd68fdf2acef5b1842a.tar.gz nixpkgs-3137cb5c5931d3e674201cd68fdf2acef5b1842a.tar.bz2 nixpkgs-3137cb5c5931d3e674201cd68fdf2acef5b1842a.tar.lz nixpkgs-3137cb5c5931d3e674201cd68fdf2acef5b1842a.tar.xz nixpkgs-3137cb5c5931d3e674201cd68fdf2acef5b1842a.tar.zst nixpkgs-3137cb5c5931d3e674201cd68fdf2acef5b1842a.zip |
* Apply some fixes to the xendomains script.
svn path=/nixpkgs/trunk/; revision=24120
Diffstat (limited to 'pkgs/applications/virtualization/xen')
-rw-r--r-- | pkgs/applications/virtualization/xen/default.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/applications/virtualization/xen/default.nix b/pkgs/applications/virtualization/xen/default.nix index 04c53dec8a5..b7a7d1ed31f 100644 --- a/pkgs/applications/virtualization/xen/default.nix +++ b/pkgs/applications/virtualization/xen/default.nix @@ -90,6 +90,12 @@ stdenv.mkDerivation { substituteInPlace tools/python/xen/remus/device.py \ --replace /usr/lib/xen/bin/imqebt $out/${libDir}/xen/bin/imqebt + # Allow the location of the xendomains config file to be + # overriden at runtime. + substituteInPlace tools/hotplug/Linux/init.d/xendomains \ + --replace 'XENDOM_CONFIG=/etc/sysconfig/xendomains' "" \ + --replace /bin/ls ls + # Xen's stubdoms need various sources that it usually fetches at # build time using wget. We can't have that. ${flip concatMapStrings stubdomSrcs (x: let src = fetchurl x; in '' |