Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 128012 - Rewrite kernel support
Summary: Rewrite kernel support
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-29 10:09 UTC by Maciej Piechotka
Modified: 2006-03-29 11:50 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 Maciej Piechotka 2006-03-29 10:09:16 UTC
Today I saw an Communicate "95% of /" is occupated.
What's wrong? I've found few gb(!!!) of... kernel sources.
Each time when I emerge new kernel(even form xyz-rc1 to xyz-rc2) and forgot to remove package it gets more then 500MB.
There will be no problem if it use patches for kernel (download and apply only x.y.z-to-x.y.z+1 patch).
It should be connected with portage system (for example by fake ebuilds) to compatibility.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-03-29 10:12:05 UTC
(In reply to comment #0)
> There will be no problem if it use patches for kernel (download and apply only
> x.y.z-to-x.y.z+1 patch).

We do... maybe do a bit of research before filing bugs.
Comment 2 Maciej Piechotka 2006-03-29 10:49:07 UTC
(In reply to comment #1)
> (In reply to comment #0)
> > There will be no problem if it use patches for kernel (download and apply only
> > x.y.z-to-x.y.z+1 patch).
> 
> We do... maybe do a bit of research before filing bugs.
> 

I'm so sorry - I don't understend you.
If I have a 2.6.15.6 kernel and I install 2.6.16 it'll download 2.6.16.tar.bz2 and install it in different /usr/src dir (with symlink use it change symlink).
If I mask a sources and try to menage by hand I could have problem with dependences (something needs new kernel) and it's not that what I'd like to.
I can't find anything in google.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-03-29 10:54:38 UTC
(In reply to comment #2)
> (In reply to comment #1)> If I have a 2.6.15.6 kernel and I install 2.6.16 it'll download 2.6.16.tar.bz2
> and install it in different /usr/src dir (with symlink use it change symlink).
> If I mask a sources and try to menage by hand I could have problem with
> dependences (something needs new kernel) and it's not that what I'd like to.
> I can't find anything in google.
> 

No, we won't be using using patches between different kernel versions. Different revisions of the same kernel version *do* use patches.
Comment 4 Maciej Piechotka 2006-03-29 11:40:57 UTC
I mean:
* Keep sources in /usr/src/linux dir (only - without division on each version)
* To upgrade apply only a patch
Optionally features:
* Few famillies of this sources
* Possibility of mix patches (mm-sources/user-mode-sources ect. would be changed into special files which tells witch kernel version it needs, which patches would be excluded and which requires).

It'll save transfer and disk space.

I didn't ask about apply patches. I ask about not keep all versions in system.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-03-29 11:50:11 UTC
What you are requesting would make usage of sources of different kernel versions impossible. Kernels are slotted, if you don't want/need the previous version/revision any more, then unmerge it.

We *are* using patches to upgrade between different revisions of the same kernel version, don't see what patches are you requesting here really.

Mixing different patchets is impossible, they would fail pretty often.