Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 9561 - Re-merging ebuilds that install kernel modules
Summary: Re-merging ebuilds that install kernel modules
Status: RESOLVED DUPLICATE of bug 1477
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High enhancement
Assignee: Nicholas Jones (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-23 11:57 UTC by Arcady Genkin (RETIRED)
Modified: 2011-10-30 22:21 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arcady Genkin (RETIRED) gentoo-dev 2002-10-23 11:57:15 UTC
I think that there is an issue with the current portage.  Suppose that I emere
some package that installs kernel modules (e.g. alsa-driver).  Then, a week
later, I decide to install another kernel (as an alternative kernel). 
Obviously, I need to re-merge the alsa-driver package for the new kernel.

The problem is that once I re-merge the alsa-driver package, it's going to
remove the kernel modules for the *old kernel* (as part of unmerging the
previous installation of the same package revision).  But in most cases, this is
not what I want to do: I want to install another kernel *and* keep the old
kernel around in a functional state with all the essential modules, compiled for
it (in case something goes wrong with the new kernel).

IMO the kernel modules should not be cleaned up by default; they should be
overwritten by portage without a second thought, but not removed.
Comment 1 Daniel Robbins (RETIRED) gentoo-dev 2002-12-10 09:54:38 UTC
Fixing this involves switching to a /var/db/pkg/cat/pkg/slot namespace...
Comment 2 A. Craig West 2002-12-12 11:56:17 UTC
How would a slot namespace fix this? I was just running into this myself,
because there is no good way to have multiple kernel versions bootable
simultaneously.
Comment 3 SpanKY gentoo-dev 2002-12-15 08:32:24 UTC
this is a dup of 1477, not a diff issue 

*** This bug has been marked as a duplicate of 1477 ***