On Thursday 28 July 2011 11:53:04 Daniel Hilst Selli did opine thusly: > I have some old kernel trees here.. But there is no Makefiles for > some of them. I did not remove the Makefiles. There is anyone > having the same problem? Whats happen? > > I emerge -NuD periodically, some times I see my kernel > being updated.. May portage remove my Makefiles??
In real life, portage seldom (if ever) *updates* a kernel src package. Almost all kernel versions, even ones with teeny-weeny -r changes in the version number, are an entirely new package which installs into it's own directory in /usr/src/ So, gentoo-sources-2.6.39-r1 will touch nothing belonging to gentoo-sources-2.6.39 This is in contrast to how most packages work, where -r versions contain gentoo patches or ebuild tweaks but still use exactly the same sources. Perhaps you have unmerged old kernel sources that were previously built. In this case portage will remove the files it put there and leave everything the compiler built. Run this: du -sh /usr/src/* Anything with a size of about 300M has probably had this happen. Intact trees that were built tend to come out at around 700M -- alan dot mckinnon at gmail dot com

