forked from NixOS/nixpkgs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Replace module-init-tools by kmod * Drop MODULE_DIR patch We'll maintain /lib/modules/modversion symlink instead. This way both module-init-tools and libkmod will work without patches. svn path=/nixpkgs/branches/kmod-MODULE_DIR/; revision=33428
- Loading branch information
Showing
15 changed files
with
34 additions
and
259 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
# Given a kernel build (with modules in $kernel/lib/modules/VERSION), | ||
# Given a modules tree (with modules in $modulesTree/lib/modules/VERSION), | ||
# produce a module tree in $out/lib/modules/VERSION that contains only | ||
# the modules identified by `rootModules', plus their dependencies. | ||
# Also generate an appropriate modules.dep. | ||
|
||
{ stdenv, kernel, nukeReferences, rootModules | ||
, module_init_tools, allowMissing ? false }: | ||
{ stdenv, modulesTree, nukeReferences, rootModules | ||
, kmod, allowMissing ? false }: | ||
|
||
stdenv.mkDerivation { | ||
name = kernel.name + "-shrunk"; | ||
name = modulesTree.name + "-shrunk"; | ||
builder = ./modules-closure.sh; | ||
buildInputs = [nukeReferences]; | ||
inherit kernel rootModules module_init_tools allowMissing; | ||
inherit modulesTree rootModules kmod allowMissing; | ||
allowedReferences = ["out"]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
12 changes: 0 additions & 12 deletions
12
pkgs/os-specific/linux/module-init-tools/docbook2man.patch
This file was deleted.
Oops, something went wrong.
161 changes: 0 additions & 161 deletions
161
pkgs/os-specific/linux/module-init-tools/module-dir.patch
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.