Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] How to force a rebuild?
Date: Wed, 15 Feb 2017 18:28:15
Message-Id: 02ebd900-2314-a1b8-0c14-86fbb9050b0e@gmail.com
In Reply to: [gentoo-user] How to force a rebuild? by Bertram Scharpf
1 Bertram Scharpf wrote:
2 > Hi,
3 >
4 > I did not find this by Google. Maybe I asked the wrong
5 > terms.
6 >
7 > The package "virtualbox-modules" contains some kernel
8 > modules. When I built the package they landed in the
9 > directory
10 >
11 > # equery f app-emulation/virtualbox-modules
12 > ...
13 > /lib/modules/4.4.39-gentoo/misc/vboxdrv.ko
14 > /lib/modules/4.4.39-gentoo/misc/vboxnetadp.ko
15 > ...
16 >
17 > After a kernel update the VirtualBox won't find them any
18 > more and do not expect that at all.
19 >
20 > I could delete the package and build-install it again, but
21 > then the old kernels modules would disappear. I just want
22 > to install the new ones.
23 >
24 > I could do a sequence of "ebuild" commands. Is there a
25 > front end "emerge" command, too? Something like the -U flag?
26 >
27 > Thanks in advance.
28 >
29 > Bertram
30 >
31 >
32
33 I'm not sure this is what you are talking about but I think this may help.
34
35 emerge -va @module-rebuild
36
37 That will rebuild modules which I think is what you are looking for. If
38 not, please ignore.
39
40 Dale
41
42 :-) :-)