Red Hat Bugzilla – Bug 143283
An alternative to the kernel-source RPM
Last modified: 2007-11-30 17:10:57 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5)
Description of problem:
While dropping kernel-source is a good thing, I propose adding a
feature to make setting up the source tree easier, such as a Makefile
in /usr/src. It could include targets like 'kernel_source' to get and
install current kernel sources, 'kernel_build' to make the kernel.
This should be a fairly simple addition, probably even easier than
writing a decent README on the subbject, but would help out a lot of
Making a generalized Makefile is a bit difficult due to the various
combinations of kernel version + release strings for rpm/spec names.
It would be easiest if /usr/src/Makefile was owned by the kernel
package, maybe named
Alternatively, maybe a perl-based 'kernel' command would be better,
because t handled very well by make. In this case, it could include
some extras, like initrd and grub.conf management.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. cd /usr/src
2. make -f Makefile-2.6.9-1.681_FC3 kernel_source
Actual Results: file not found; optionally followed by a lot of user
Maybe some day Bugzilla could make the Reproducability field optional
for Enhancement requests.
a gentoo-esque ports type system is something a bit more widespread
than kernel. reassigning to distribution, though I doubt this will
happen any time soon.
Hm, this would probably best be done as a wrapper around a fetcher for
source RPMs. Assigning yum-wards.
yum download and yum-builddep in yum-utils seem to serve this purpose well
Yum-utils is currently in Fedora Extras repository which is enabled by default
in Fedora Core above above
This bug report should be closed