* kernelscripts: seems to be obsolete.
svn path=/nixpkgs/trunk/; revision=11151
This commit is contained in:
parent
84d55847d2
commit
ed9107e33c
@ -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
|
@ -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;
|
||||
}
|
@ -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 =
|
||||
|
Loading…
Reference in New Issue
Block a user