* kernelscripts: seems to be obsolete.

svn path=/nixpkgs/trunk/; revision=11151
This commit is contained in:
Eelco Dolstra 2008-03-17 09:44:14 +00:00
parent 84d55847d2
commit ed9107e33c
3 changed files with 0 additions and 47 deletions

View File

@ -1,34 +0,0 @@
source $stdenv/setup
export MODULE_DIR=$out/lib/modules/
kernelVersion=$(cd $kernel/lib/modules/; ls -d *)
mkdir -p $out/lib/modules/$kernelVersion
cd $kernel
echo making kernel directories
find . -not -path "./lib/modules/$kernelVersion/build*" -type d | xargs -n 1 -i% mkdir -p $out/%
echo symlinking kernel modules
find . -not -path "./lib/modules/$kernelVersion/build*" -a -not -path \
"./System*" -a -not -path "./vmlinuz*" -type f | xargs -n 1 -i% \
ln -s $kernel/% $out/%
echo $modules
for i in $modules; do
echo making directories for $i
cd $i
find . -not -path "./lib/modules/$kernelVersion/build*" -type d | xargs -n 1 -i% mkdir -p $out/%
echo symlinking modules for $i
find . -not -path "./lib/modules/$kernelVersion/build*" -type f | xargs -n 1 -i% ln -s $i/% $out/%
done
echo running depmod
$module_init_tools/sbin/depmod -ae $kernelVersion

View File

@ -1,8 +0,0 @@
{stdenv, module_init_tools, kernel, modules}:
stdenv.mkDerivation {
builder = ./builder.sh;
name = "kernelscripts-0.0.1";
inherit module_init_tools kernel modules;
}

View File

@ -3942,11 +3942,6 @@ rec {
cross = "sparc-linux";
};
kernelscripts = import ../os-specific/linux/kernelscripts {
inherit stdenv module_init_tools kernel;
modules = [];
};
kernel = kernel_2_6_23;
systemKernel =