mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
* Use a pure depmod.
svn path=/nixpkgs/trunk/; revision=6916
This commit is contained in:
parent
84ba6b71d2
commit
6225e46baf
3 changed files with 5 additions and 3 deletions
|
@ -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..."
|
||||
|
|
|
@ -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" +
|
||||
|
|
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue