* KVM 84. CIFS/Samba performance still broken.
* Kernel headers: KVM expects a include/linux/asm-x86 symlink, so provide it. svn path=/nixpkgs/trunk/; revision=14113
This commit is contained in:
parent
9f4ca51e8e
commit
539239d66d
@ -20,9 +20,6 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
buildInputs = [perl];
|
buildInputs = [perl];
|
||||||
|
|
||||||
# !!! hacky
|
|
||||||
fixupPhase = "ln -s $out/include/asm $out/include/asm-$platform";
|
|
||||||
|
|
||||||
extraIncludeDirs =
|
extraIncludeDirs =
|
||||||
if stdenv.system == "powerpc-linux" then ["ppc"] else [];
|
if stdenv.system == "powerpc-linux" then ["ppc"] else [];
|
||||||
|
|
||||||
@ -41,4 +38,12 @@ stdenv.mkDerivation {
|
|||||||
ensureDir $out/include/config
|
ensureDir $out/include/config
|
||||||
echo "${version}-default" > $out/include/config/kernel.release
|
echo "${version}-default" > $out/include/config/kernel.release
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
# !!! hacky
|
||||||
|
fixupPhase = ''
|
||||||
|
ln -s asm $out/include/asm-$platform
|
||||||
|
if test "$platform" = "i386" -o "$platform" = "x86_64"; then
|
||||||
|
ln -s asm $out/include/asm-x86
|
||||||
|
fi
|
||||||
|
'';
|
||||||
}
|
}
|
||||||
|
@ -2,12 +2,12 @@
|
|||||||
|
|
||||||
assert stdenv.isLinux;
|
assert stdenv.isLinux;
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation rec {
|
||||||
name = "kvm-82";
|
name = "kvm-84";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = mirror://sourceforge/kvm/kvm-82.tar.gz;
|
url = "mirror://sourceforge/kvm/${name}.tar.gz";
|
||||||
sha256 = "1fk58g8z9v7z42vy76zq0sq28slqf8zszzmh73vyxm07vfbc96zs";
|
sha256 = "13lqhy4lpxqby7qj3l1cdbj73c7jmvkq73bc5wchwn0l0dkjsjlk";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
@ -6985,7 +6985,7 @@ let
|
|||||||
kernelHeaders = kernelHeaders_2_6_26;
|
kernelHeaders = kernelHeaders_2_6_26;
|
||||||
};
|
};
|
||||||
|
|
||||||
kvm82 = import ../os-specific/linux/kvm/82.nix {
|
kvm84 = import ../os-specific/linux/kvm/84.nix {
|
||||||
inherit fetchurl stdenv zlib e2fsprogs SDL alsaLib pkgconfig rsync;
|
inherit fetchurl stdenv zlib e2fsprogs SDL alsaLib pkgconfig rsync;
|
||||||
kernelHeaders = kernelHeaders_2_6_28;
|
kernelHeaders = kernelHeaders_2_6_28;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user