During installation I emerged the gentoo-linux source tree. Later I realized I wanted the xfs-sources and emerged that, then unmerged the gentoo-linux sources. However, the "linux" soft link in /usr/src still points to the gentoo-linux tree, which is now almost completely empty.
should this reset on the emerge of xfs-sources, or should it reset on unmerge of gentoo-sources? IMHO the first thing emerged should get the symlink
I agree that /usr/src/linux should point to the first kernel installed as it most likely supplied the headers that glibc was compiled with.
actually, it was decided that the link would not be reset. if you have no sources to begin with and no link, then it will be created. as a matter of policy, however, the link is not touched.
right, so why was it reopened and given to me? Seemant is quite correct, kernel ebuilds do not touch teh link unless no link is present.