Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Cc: Nikos Chantziaras <realnc@×××××.de>
Subject: Re: [gentoo-user] Re: Kernel Modules
Date: Thu, 09 Jun 2011 18:26:13
Message-Id: 201106092018.37311.alan.mckinnon@gmail.com
In Reply to: [gentoo-user] Re: Kernel Modules by Nikos Chantziaras
1 Apparently, though unproven, at 19:32 on Thursday 09 June 2011, Nikos
2 Chantziaras did opine thusly:
3
4 > On 06/09/2011 03:12 PM, Ignas Anikevicius wrote:
5 > > On 09/06/11 12:06, Alan McKinnon wrote:
6 > >> why you making so much work for yourself?
7 > >>
8 > >> set the /usr/src/linux symlink to each set of installed sources in turn,
9 > >>
10 > >> run emerge @module-rebuild
11 > >> or run module-rebuild rebuild
12 > >>
13 > >> you could even script it
14 > >>
15 > >> cd /usr/src
16 > >> for I in linux-*
17 > >> do
18 > >>
19 > >> ln -sfn $I linux
20 > >> module-rebuild rebuils
21 > >>
22 > >> done
23 > >>
24 > >> Fixing my bash syntax errors is left as an exercise for the interested
25 > >> reader
26 > >
27 > > Thanks very much!
28 >
29 > You actually don't need to the symlinks yourself. Try:
30 >
31 > eselect kernel list
32 >
33 > Then choose one with something like:
34 >
35 > eselect kernel set 2
36
37 Sure, but I can use ln in my sleep.
38
39 eselect OTOH, is something I always have to run bit by bit to recall the
40 invocation. That's just way too much effort for this here old git....
41
42
43 --
44 alan dot mckinnon at gmail dot com

Replies

Subject Author
Re: [gentoo-user] Re: Kernel Modules Bill Longman <bill.longman@×××××.com>
Re: [gentoo-user] Re: Kernel Modules Dale <rdalek1967@×××××.com>