Bug 178655 - kernel-devel missing the .kernelrelease file
Summary: kernel-devel missing the .kernelrelease file
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 5
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Dave Jones
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-01-23 03:17 UTC by Henrik Nordstrom
Modified: 2015-01-04 22:24 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-01-24 05:17:18 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Include .kernelrelease in the -devel package (651 bytes, patch)
2006-01-23 03:25 UTC, Henrik Nordstrom
no flags Details | Diff

Description Henrik Nordstrom 2006-01-23 03:17:46 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8) Gecko/20060103 Fedora/1.5-4 Firefox/1.5

Description of problem:
/lib/modules/`uname -r`/build/.kernelrelease missing from the kernel-devel package

Version-Release number of selected component (if applicable):
kernel-devel-2.6.15-1.1826.2.10_FC5
kernel-devel-2.6.15-1.1861_FC5

How reproducible:
Always

Steps to Reproduce:
1. Grab a third party module source, or a module extracted from the kernel tree with a makefile instructing it to be built. For example the ip_wccp module found at http://www.squid-cache.org/WCCP-support/Linux/

2. cd /lib/modules/`uname -r`/build

3. make M=/path/to/custom/module_sources modules modules_install

Actual Results:  The module gets installed into /lib/modules//extra/

Expected Results:  the module should have been installed into /lib/modules/`uname -r`/extra/ directory.

Additional info:

Workaround:

uname -r >/lib/modules/`uname -r`/build/.kernelrelease

Comment 1 Henrik Nordstrom 2006-01-23 03:25:06 UTC
Created attachment 123558 [details]
Include .kernelrelease in the -devel package

trivial patch adding the file to the distributed -devel package. Untested, but
should work I think..

Comment 2 Dave Jones 2006-01-24 05:17:18 UTC
fixed in rawhide, thanks.

any reason this hasn't been submitted upstream btw ?


Comment 3 Henrik Nordstrom 2006-01-24 12:14:23 UTC
I didn't see much reason to report problem in your specfile upstream.. I normal
kernel build obviously creates the file where it is supposed to be, the problem
was just that it was not copied over to your kernel-devel package, used for
building custom modules without the whole kernel sources..

Comment 4 Dave Jones 2006-01-24 19:22:44 UTC
no, I meant pushing your wccp module :-)



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