* Use a pure depmod.
svn path=/nixpkgs/trunk/; revision=6916
This commit is contained in:
parent
84ba6b71d2
commit
6225e46baf
@ -33,7 +33,7 @@ installPhase() {
|
|||||||
|
|
||||||
make install
|
make install
|
||||||
|
|
||||||
make modules_install
|
make modules_install DEPMOD=$module_init_tools/sbin/depmod
|
||||||
|
|
||||||
# Strip the kernel modules.
|
# Strip the kernel modules.
|
||||||
echo "Stripping 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
|
# 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
|
# should be an attribute set {name, patch} where `name' is a
|
||||||
@ -25,6 +25,8 @@ stdenv.mkDerivation {
|
|||||||
buildInputs = [perl mktemp];
|
buildInputs = [perl mktemp];
|
||||||
arch="i386";
|
arch="i386";
|
||||||
|
|
||||||
|
inherit module_init_tools;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description =
|
description =
|
||||||
"The Linux kernel" +
|
"The Linux kernel" +
|
||||||
|
@ -2089,7 +2089,7 @@ rec {
|
|||||||
kernel = kernel_2_6_18;
|
kernel = kernel_2_6_18;
|
||||||
|
|
||||||
kernel_2_6_18 = import ../os-specific/linux/kernel/linux-2.6.18.nix {
|
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;
|
stdenv = overrideSetup stdenv ../stdenv/generic/setup-new.sh;
|
||||||
kernelPatches = [
|
kernelPatches = [
|
||||||
{ name = "skas-2.6.18-v9-pre9";
|
{ name = "skas-2.6.18-v9-pre9";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user