Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 12345

Summary: Unmerging kernel sources
Product: Portage Development Reporter: Thomee Wright <elessar>
Component: UnclassifiedAssignee: Brandon Low (RETIRED) <lostlogic>
Status: RESOLVED FIXED    
Severity: minor    
Priority: Low    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Thomee Wright 2002-12-17 16:25:04 UTC
The new versions of portage now default to automatically unmerging older
versions of a package when things are upgraded.  This behavior is not
necessarily appropriate when installing new kernel sources, though.  The old
sources shouldn't be removed until the kernel they built is no longer being used.

A somewhat more challenging issue is that packages which depend on the kernel,
like alsa or the NVidia drivers, don't need to be re-emerged when the kernel
sources are updated, but rather when a new kernel is acually built.
Comment 1 SpanKY gentoo-dev 2002-12-17 17:31:01 UTC
what kernels are you experiencing this problem with ?
it wouldnt be a problem if they were SLOT-ed correctly
Comment 2 Brandon Low (RETIRED) gentoo-dev 2002-12-17 17:37:43 UTC
*adds slot to kernels
Comment 3 Brandon Low (RETIRED) gentoo-dev 2002-12-17 17:40:49 UTC
hmm... maybe... I don't like this, cuz this can cause a person's kernel source
dir to grow unmanagebly huge really really fast

lost linux-2.4.20-lolo-r1_pre5 # du -s /usr/src
2466230 /usr/src

And that is with portage auto-cleaning things...  Meh, i guess we just have to
trust users to rm -rf /usr/src/linux-blah when they are done with it...
Comment 4 Brandon Low (RETIRED) gentoo-dev 2002-12-17 18:15:29 UTC
ok, done.
Comment 5 Justin Lecher (RETIRED) gentoo-dev 2014-06-26 06:59:57 UTC
I renamed the variable to README_GENTOO_SUFFIX to make it less generic.