Bug 143283 - An alternative to the kernel-source RPM
An alternative to the kernel-source RPM
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: yum (Show other bugs)
3
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jeremy Katz
: FutureFeature
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2004-12-17 19:41 EST by Joe Krahn
Modified: 2007-11-30 17:10 EST (History)
2 users (show)

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


Attachments (Terms of Use)

  None (edit)
Description Joe Krahn 2004-12-17 19:41:09 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5)
Gecko/20041107 Firefox/1.0

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
frustrated users.

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
/usr/src/Makefile.linux-{KernelVersion}-{KernelRelease}.

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):


How reproducible:
Always

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
whining.

Additional info:

Maybe some day Bugzilla could make the Reproducability field optional
for Enhancement requests.
Comment 1 Dave Jones 2004-12-17 20:36:35 EST
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.
Comment 2 Bill Nottingham 2004-12-22 17:40:07 EST
Hm, this would probably best be done as a wrapper around a fetcher for
source RPMs. Assigning yum-wards.
Comment 3 Rahul Sundaram 2005-06-18 23:03:08 EDT

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

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