diff options
author | Thomas Strobel <ts468@cam.ac.uk> | 2015-07-15 12:19:38 +0200 |
---|---|---|
committer | Thomas Strobel <ts468@cam.ac.uk> | 2015-07-15 12:38:37 +0200 |
commit | 2ff91293374111a7a07345b912b5b4316d562a44 (patch) | |
tree | c3ee5c01abac1d81c036f12f0dd8225e18f69baa /pkgs/applications | |
parent | df038c93cc823fef9ceb547e3d635317bdd7d39e (diff) | |
download | nixlib-2ff91293374111a7a07345b912b5b4316d562a44.tar nixlib-2ff91293374111a7a07345b912b5b4316d562a44.tar.gz nixlib-2ff91293374111a7a07345b912b5b4316d562a44.tar.bz2 nixlib-2ff91293374111a7a07345b912b5b4316d562a44.tar.lz nixlib-2ff91293374111a7a07345b912b5b4316d562a44.tar.xz nixlib-2ff91293374111a7a07345b912b5b4316d562a44.tar.zst nixlib-2ff91293374111a7a07345b912b5b4316d562a44.zip |
xen: fixes (authored by michalpalka)
Xen required a few changes in order to be usable: * Include xenfs module in initrd as loading it in the activation script was failing. * Include /etc/default/xendomains, which is needed by xen-domains service. * Create /var/log/xen and /var/lib/xen directories in the xen-store service, which are needed by the xl command. The directories could be created by any other script as long as they are guaranteed to exist before xl is called. * Fix a reference to /bin/ls in the xendomains script.
Diffstat (limited to 'pkgs/applications')
-rw-r--r-- | pkgs/applications/virtualization/xen/generic.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/applications/virtualization/xen/generic.nix b/pkgs/applications/virtualization/xen/generic.nix index 2c92a9834740..32e385635250 100644 --- a/pkgs/applications/virtualization/xen/generic.nix +++ b/pkgs/applications/virtualization/xen/generic.nix @@ -147,6 +147,9 @@ stdenv.mkDerivation { --replace /etc/xen/scripts/hotplugpath.sh $out/etc/xen/scripts/hotplugpath.sh \ --replace /bin/ls ls + substituteInPlace tools/hotplug/Linux/xendomains \ + --replace /bin/ls ls + # Xen's tools and firmares need various git repositories that it # usually checks out at time using git. We can't have that. ${flip concatMapStrings xenConfig.toolsGits (x: let src = fetchgit x.git; in '' |