* Use a pure depmod.

svn path=/nixpkgs/trunk/; revision=6916
This commit is contained in:
Eelco Dolstra 2006-10-31 16:03:19 +00:00
parent 84ba6b71d2
commit 6225e46baf
3 changed files with 5 additions and 3 deletions

View file

@ -33,7 +33,7 @@ installPhase() {
make install
make modules_install
make modules_install DEPMOD=$module_init_tools/sbin/depmod
# Strip the kernel modules.
echo "Stripping kernel modules..."

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, perl, mktemp
{ stdenv, fetchurl, perl, mktemp, module_init_tools
# A list of patches to apply to the kernel. Each element of this list
# should be an attribute set {name, patch} where `name' is a
@ -25,6 +25,8 @@ stdenv.mkDerivation {
buildInputs = [perl mktemp];
arch="i386";
inherit module_init_tools;
meta = {
description =
"The Linux kernel" +

View file

@ -2089,7 +2089,7 @@ rec {
kernel = kernel_2_6_18;
kernel_2_6_18 = import ../os-specific/linux/kernel/linux-2.6.18.nix {
inherit fetchurl perl mktemp;
inherit fetchurl perl mktemp module_init_tools;
stdenv = overrideSetup stdenv ../stdenv/generic/setup-new.sh;
kernelPatches = [
{ name = "skas-2.6.18-v9-pre9";