1 |
On Thursday 15 May 2008, Matthew R. Lee wrote: |
2 |
> I just ran emerge --depclean and missed that it was going to remove |
3 |
> gentoo-sources-2.6.22-r2, the sources for the kernel I'm currently |
4 |
> using. Now what I'm not sure about is, do I need the sources, or is |
5 |
> the kernel image in /boot sufficient. Do I need to build myself a |
6 |
> new working kernel before I reboot again? I can't reemerge 2.6.22-r2 |
7 |
> becuase it's no longer available. Thanks |
8 |
|
9 |
Hi Matt, |
10 |
|
11 |
The answer to why this happens is in a thread from earlier today when |
12 |
this happened to mark Knecht. Summary: |
13 |
|
14 |
This is a new thing that --depclean does. Just remerge the sources you |
15 |
want, put them in world if you want to guarantee that --depclean won't |
16 |
be overly helpful in future. |
17 |
|
18 |
As for the sources themselves, they are only needed to build a kernel or |
19 |
out-of-tree modules (ati drivers, ndiswrapper, vmware-modules, etc |
20 |
etc). You already have a working kernel, so you are safe. Gentoo does |
21 |
not require anything in /usr/src - unlike most binary distros it |
22 |
doesn't keep kernel headers there, they are somewhere else and |
23 |
completely unaffected by the presence or absence of full sources. |
24 |
|
25 |
If you do need to remerge the original sources, you can grab the |
26 |
original ebuild from the gentoo attic. Google will find it for you |
27 |
|
28 |
|
29 |
|
30 |
-- |
31 |
Alan McKinnon |
32 |
alan dot mckinnon at gmail dot com |
33 |
|
34 |
-- |
35 |
gentoo-user@l.g.o mailing list |