Description of problem: The kernel package contains lots of files under /lib/modules/*/build. These files are unneeded for normal operation and should be * either in a separate subpackage, and/or * by placed under /usr/src/linux-<ver>/ which would be linked to /lib/modules/*/build. Current package wastes lots of space in the root-filesystem and there is no way to prevent this. With the methods above, administrator could either skip installation of the extra-package, add /usr/src to %_netsharedpath or place /usr/src on a filesystem with more space. Version-Release number of selected component (if applicable): kernel-2.6.6-1.435.2.3
the convenience of the current method outweighs the 12Mb cost; 12Mb is almost nothing.
Usually, you have multiple kernel-versions installed (default-setup of apt and yum). So it can happen, that you waste 40-60 MB on a 150 MB sized / filesystem. And I do not see the advantages of the current method against symlinks into /usr/src or a separate subpackage.
there is no such cumulative waste since these files are hardlinked to eachother.
ok, some files get hardlinked indeed. But / is still the wrong place for development headers and should be used only for files which are needed to bring the system up. Therefore, please relocate/remove the kernel-header from /lib.
can we fix this for FC4 please?
Reassigning to Dave Jones since the Fedora kernel is no longer maintained by Arjan Van De Ven
This was fixed a long time ago with the kernel-devel of FC4+