mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
* Generate a modules.dep containing correct paths.
svn path=/nixpkgs/trunk/; revision=6935
This commit is contained in:
parent
b99122d759
commit
039b141471
1 changed files with 6 additions and 2 deletions
|
@ -33,8 +33,12 @@ installPhase() {
|
|||
|
||||
make install
|
||||
|
||||
export MODULE_DIR=$out/lib/modules
|
||||
make modules_install DEPMOD=$module_init_tools/sbin/depmod
|
||||
# Install the modules in $out/lib/modules with matching paths
|
||||
# in modules.dep (i.e., refererring to $out/lib/modules, not
|
||||
# /lib/modules). The depmod_opts= is to prevent the kernel
|
||||
# from passing `-b PATH' to depmod.
|
||||
export MODULE_DIR=$out/lib/modules/
|
||||
make modules_install DEPMOD=$module_init_tools/sbin/depmod depmod_opts=
|
||||
|
||||
# Strip the kernel modules.
|
||||
echo "Stripping kernel modules..."
|
||||
|
|
Loading…
Reference in a new issue