Bug 178655

Summary: kernel-devel missing the .kernelrelease file
Product: [Fedora] Fedora Reporter: Henrik Nordstrom <hno>
Component: kernelAssignee: Dave Jones <davej>
Status: CLOSED RAWHIDE QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: 5CC: pfrields, wtogami
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-01-24 05:17:18 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Include .kernelrelease in the -devel package none

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