Gentoo Archives: gentoo-user

From: Nikos Chantziaras <realnc@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: Since when does module-rebuild delete modules for previous kernel version?
Date: Wed, 07 Jul 2021 23:46:50
Message-Id: sc5eco$5pu$1@ciao.gmane.io
In Reply to: Re: [gentoo-user] Since when does module-rebuild delete modules for previous kernel version? by Neil Bothwick
1 On 08/07/2021 02:18, Neil Bothwick wrote:
2 > On Thu, 8 Jul 2021 02:09:17 +0300, Nikos Chantziaras wrote:
3 >
4 >> So far, so good. But when I ran "emerge @module-rebuild", which
5 >> rebuilds these two packages:
6 >>
7 >> app-emulation/vmware-modules
8 >> x11-drivers/nvidia-drivers
9 >>
10 >> The vmwware and nvidia kernel modules got deleted from
11 >> /lib/modules/5.10.47-gentoo.
12 >>
13 >> This is bad. When did this change? How can I prevent this from
14 >> happening?
15 >
16 > Hasn't this always been the case. emerging a package removes files
17 > installed by the previous merge.
18 >
19 > I think adding /lib/modules to CONFIG_PROTECT will prevent their
20 > deletion.
21
22 I just tried that after "eselect kernel set 1" and rebuilding modules,
23 and it doesn't help.
24
25 I am quite sure the modules were not uninstalled in my old system. It
26 could be that I had to set some option somewhere, but I don't remember :-/

Replies