Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 155832 - Refactor kernel rpm.
Refactor kernel rpm.
Product: Fedora
Classification: Fedora
Component: kernel (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Dave Jones
Brian Brock
: FutureFeature
Depends On:
  Show dependency treegraph
Reported: 2005-04-24 09:07 EDT by Sam Varshavchik
Modified: 2015-01-04 17:19 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-04-24 20:59:25 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Sam Varshavchik 2005-04-24 09:07:56 EDT
Description of problem:

/lib/modules/`uname -r`/build directory is included in every kernel rpm.  The
stuff in build is only needed to build add-on kernel modules, and is not needed
at runtime.  Most people don't need that, and it logically belongs in a
kernel-devel subpackage.

I propose that in post-FC4 the build directory gets moved into a kernel-devel
subpackage.  Right now build has over 4500 files, and takes up about 36Mb, and a
typical system might have several kernel rpms installed.

Additionally, out of those 4500 files, over a thousand are called "module.h",
and there are over 700 "Makefile" files in there.  Multiple files with the same
name give extra work to rpm, because it complicates dependency resolution.  For
the purpose of conflict and dependency resolution it is necessary to know if two
different pathnames refer to the same file, due to intermediate soft links.  If
pathnames have different filename components this cannot happen, of course, but
because you have thousands of files here with the same filename rpm ends up
stat-ing everything when installing rpms.  Moving the build directory into a
separate -devel rpm, which rarely needs to be installed, should significantly
speed up installing and upgrading kernel rpms.
Comment 1 Dave Jones 2005-04-24 20:59:25 EDT
No.  The /lib/modules/`uname -r`/build _symlink_ is in every kernel rpm.
The actual files are in the kernel-devel package.

Note You need to log in before you can comment on or make changes to this bug.