Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Since when does module-rebuild delete modules for previous kernel version?
Date: Wed, 07 Jul 2021 23:18:44
Message-Id: 20210708001830.49d7ba2e@digimed.co.uk
In Reply to: [gentoo-user] Since when does module-rebuild delete modules for previous kernel version? by Nikos Chantziaras
1 On Thu, 8 Jul 2021 02:09:17 +0300, Nikos Chantziaras wrote:
2
3 > So far, so good. But when I ran "emerge @module-rebuild", which
4 > rebuilds these two packages:
5 >
6 > app-emulation/vmware-modules
7 > x11-drivers/nvidia-drivers
8 >
9 > The vmwware and nvidia kernel modules got deleted from
10 > /lib/modules/5.10.47-gentoo.
11 >
12 > This is bad. When did this change? How can I prevent this from
13 > happening?
14
15 Hasn't this always been the case. emerging a package removes files
16 installed by the previous merge.
17
18 I think adding /lib/modules to CONFIG_PROTECT will prevent their
19 deletion.
20
21
22 --
23 Neil Bothwick
24
25 It is impossible to fully enjoy procrastination
26 unless one has plenty of work to do.

Replies