Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 12345 - Unmerging kernel sources
Summary: Unmerging kernel sources
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: Low minor (vote)
Assignee: Brandon Low (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-17 16:25 UTC by Thomee Wright
Modified: 2014-06-26 06:59 UTC (History)
0 users

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 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.