1 |
On 06/09/2011 03:12 PM, Ignas Anikevicius wrote: |
2 |
> On 09/06/11 12:06, Alan McKinnon wrote: |
3 |
>> why you making so much work for yourself? |
4 |
>> |
5 |
>> set the /usr/src/linux symlink to each set of installed sources in turn, |
6 |
>> run emerge @module-rebuild |
7 |
>> or run module-rebuild rebuild |
8 |
>> |
9 |
>> you could even script it |
10 |
>> |
11 |
>> cd /usr/src |
12 |
>> for I in linux-* |
13 |
>> do |
14 |
>> ln -sfn $I linux |
15 |
>> module-rebuild rebuils |
16 |
>> done |
17 |
>> |
18 |
>> Fixing my bash syntax errors is left as an exercise for the interested reader |
19 |
> Thanks very much! |
20 |
|
21 |
You actually don't need to the symlinks yourself. Try: |
22 |
|
23 |
eselect kernel list |
24 |
|
25 |
Then choose one with something like: |
26 |
|
27 |
eselect kernel set 2 |