From d4f7a93f31638e50261262285bcb6efa1e98ace2 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 8 Aug 2008 11:49:06 +0000 Subject: * KVM 72, plus stable 2.6.26 kernel headers (needed for KVM). svn path=/nixpkgs/trunk/; revision=12541 --- pkgs/os-specific/linux/kvm/69.nix | 38 -------------------------------------- pkgs/os-specific/linux/kvm/70.nix | 38 -------------------------------------- pkgs/os-specific/linux/kvm/72.nix | 38 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 38 insertions(+), 76 deletions(-) delete mode 100644 pkgs/os-specific/linux/kvm/69.nix delete mode 100644 pkgs/os-specific/linux/kvm/70.nix create mode 100644 pkgs/os-specific/linux/kvm/72.nix (limited to 'pkgs/os-specific/linux/kvm') diff --git a/pkgs/os-specific/linux/kvm/69.nix b/pkgs/os-specific/linux/kvm/69.nix deleted file mode 100644 index b8a6989458796..0000000000000 --- a/pkgs/os-specific/linux/kvm/69.nix +++ /dev/null @@ -1,38 +0,0 @@ -{stdenv, fetchurl, kernelHeaders, zlib, e2fsprogs, SDL, alsaLib, pkgconfig, rsync}: - -assert stdenv.isLinux; - -stdenv.mkDerivation { - name = "kvm-69"; - - src = fetchurl { - url = mirror://sourceforge/kvm/kvm-69.tar.gz; - sha256 = "05zkzw81lk5ap99vi0jqs6lyp13gapyi1046zgjmjm19q4xzsjz4"; - }; - - patches = [ - # Allow setting the path to Samba through $QEMU_SMBD_COMMAND. - ./smbd-path.patch - # The makefile copies stuff from the kernel directory and then - # tries to modify the copy, but it must be made writable first. - ./readonly-kernel.patch - ]; - - configureFlags = "--with-patched-kernel --kerneldir=${kernelHeaders}"; - - # e2fsprogs is needed for libuuid. - # rsync is a weird dependency used for copying kernel header files. - buildInputs = [zlib e2fsprogs SDL alsaLib pkgconfig rsync]; - - preConfigure = '' - for i in configure user/configure; do - substituteInPlace $i --replace /bin/bash $shell - done - substituteInPlace libkvm/Makefile --replace kvm_para.h kvm.h # !!! quick hack - ''; - - meta = { - homepage = http://kvm.qumranet.com/; - description = "A full virtualization solution for Linux on x86 hardware containing virtualization extensions"; - }; -} diff --git a/pkgs/os-specific/linux/kvm/70.nix b/pkgs/os-specific/linux/kvm/70.nix deleted file mode 100644 index ae7a1823596b7..0000000000000 --- a/pkgs/os-specific/linux/kvm/70.nix +++ /dev/null @@ -1,38 +0,0 @@ -{stdenv, fetchurl, kernelHeaders, zlib, e2fsprogs, SDL, alsaLib, pkgconfig, rsync}: - -assert stdenv.isLinux; - -stdenv.mkDerivation { - name = "kvm-70"; - - src = fetchurl { - url = mirror://sourceforge/kvm/kvm-70.tar.gz; - sha256 = "16953f6z9f8hlvpmikwwn1n9k96zywq2wfj36xighwqkbvbdrlx0"; - }; - - patches = [ - # Allow setting the path to Samba through $QEMU_SMBD_COMMAND. - ./smbd-path.patch - # The makefile copies stuff from the kernel directory and then - # tries to modify the copy, but it must be made writable first. - ./readonly-kernel.patch - ]; - - configureFlags = "--with-patched-kernel --kerneldir=${kernelHeaders}"; - - # e2fsprogs is needed for libuuid. - # rsync is a weird dependency used for copying kernel header files. - buildInputs = [zlib e2fsprogs SDL alsaLib pkgconfig rsync]; - - preConfigure = '' - for i in configure user/configure; do - substituteInPlace $i --replace /bin/bash $shell - done - substituteInPlace libkvm/Makefile --replace kvm_para.h kvm.h # !!! quick hack - ''; - - meta = { - homepage = http://kvm.qumranet.com/; - description = "A full virtualization solution for Linux on x86 hardware containing virtualization extensions"; - }; -} diff --git a/pkgs/os-specific/linux/kvm/72.nix b/pkgs/os-specific/linux/kvm/72.nix new file mode 100644 index 0000000000000..324bc24fc430e --- /dev/null +++ b/pkgs/os-specific/linux/kvm/72.nix @@ -0,0 +1,38 @@ +{stdenv, fetchurl, kernelHeaders, zlib, e2fsprogs, SDL, alsaLib, pkgconfig, rsync}: + +assert stdenv.isLinux; + +stdenv.mkDerivation { + name = "kvm-72"; + + src = fetchurl { + url = mirror://sourceforge/kvm/kvm-72.tar.gz; + sha256 = "1f28nbb7bkyq0h3a9ph4aha5qibs2p1ll61ydcf95c71blqdfh2h"; + }; + + patches = [ + # Allow setting the path to Samba through $QEMU_SMBD_COMMAND. + ./smbd-path.patch + # The makefile copies stuff from the kernel directory and then + # tries to modify the copy, but it must be made writable first. + ./readonly-kernel.patch + ]; + + configureFlags = "--with-patched-kernel --kerneldir=${kernelHeaders}"; + + # e2fsprogs is needed for libuuid. + # rsync is a weird dependency used for copying kernel header files. + buildInputs = [zlib e2fsprogs SDL alsaLib pkgconfig rsync]; + + preConfigure = '' + for i in configure user/configure; do + substituteInPlace $i --replace /bin/bash $shell + done + substituteInPlace libkvm/Makefile --replace kvm_para.h kvm.h # !!! quick hack + ''; + + meta = { + homepage = http://kvm.qumranet.com/; + description = "A full virtualization solution for Linux on x86 hardware containing virtualization extensions"; + }; +} -- cgit 1.4.1