Adding Berkeley Labs Checkpointing/Restarting kernel module.. Work in progress - does not work with my 2.6.25-rc5-mm1. Maybe works on 2.6.23.. Added just not to comment out from all-packages.nix
svn path=/nixpkgs/trunk/; revision=11563
This commit is contained in:
parent
4ca642f1ad
commit
784d94c258
22
pkgs/os-specific/linux/blcr/0.6.5.nix
Normal file
22
pkgs/os-specific/linux/blcr/0.6.5.nix
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
args : with args;
|
||||||
|
rec {
|
||||||
|
src = fetchurl {
|
||||||
|
url = http://ftg.lbl.gov/CheckpointRestart/downloads/blcr-0.6.5.tar.gz ;
|
||||||
|
sha256 = "195gwxb38wmhzxr0jr349g6pxlwz6id2y6szv2akprv5ypy9py0g";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [perl];
|
||||||
|
configureFlags = [
|
||||||
|
"--with-linux=$(ls -d ${kernel}/lib/modules/*/build)"
|
||||||
|
"--with-kmod-dir=$out/lib/modules/$(cd ${kernel}/lib/modules; ls -d 2.6.*)"
|
||||||
|
"--with-system-map=${kernel}/System.map"
|
||||||
|
];
|
||||||
|
|
||||||
|
/* doConfigure should be specified separately */
|
||||||
|
phaseNames = ["doConfigure" "doMakeInstall"];
|
||||||
|
|
||||||
|
name = "blcr-" + version;
|
||||||
|
meta = {
|
||||||
|
description = "Berkley Labs Checkpointing/Restarting module (save process tree state)";
|
||||||
|
};
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user