On Thu, Sep 30, 2004 at 08:16:30PM +0200, Enrico Scholz wrote:
Another issue might be the kernel packaging which is very
inefficient.
There is no reason to include the kernel-sources/headers in the base
'kernel' package, because:
* it wastes 20-30MB of diskspace and 6000 inodes on the root-filesystem
* there is no way to prevent this e.g. with %_netsharedpath
* it makes cross-compiling of kernel-modules impossible (e.g. you can
not build i686 modules on an i586 because you can not install the i686
kernel)
* it is incomplete: the kernel-headers alone are useless so at least a
'Requires: cpp' would be needed in the kernel package. But minimal
systems need the kernel only but not cpp.
A possible solution would be the creation of a separate subpackage with
the kernel-headers. These are to be installed either directly at
/lib/modules/.../build, or (preferred) under /usr/src, /usr/share/... or
... and make /lib/modules/.../build a symlink to this place.
Couldn't agree more, but this has been discussed here and finally
files under /dev/null. Check out for instance
http://www.redhat.com/archives/fedora-devel-list/2004-June/msg01050.html
--
Axel.Thimm at
ATrpms.net