mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 12:53:59 +03:00
Fix enabling switching to kernels not already running (depmod uses uname-r as default to look for modules)
svn path=/nixpkgs/branches/stdenv-updates/; revision=10572
This commit is contained in:
parent
8a3676ebf6
commit
053ea5ebe6
@ -18,7 +18,8 @@ done
|
|||||||
rm -rf nix-support
|
rm -rf nix-support
|
||||||
cd lib/modules/
|
cd lib/modules/
|
||||||
rm */modules.*
|
rm */modules.*
|
||||||
MODULE_DIR=$PWD/ depmod -a *
|
# linux-* will pass the new kernel version to depmod to take rather than `uname -r` (see man page)
|
||||||
|
MODULE_DIR=$PWD/ depmod -a $(basename lib/modules/2.*)
|
||||||
cd $out/
|
cd $out/
|
||||||
'') [minInit addInputs defEnsureDir];
|
'') [minInit addInputs defEnsureDir];
|
||||||
in
|
in
|
||||||
|
Loading…
Reference in New Issue
Block a user