Red Hat Bugzilla – Bug 178655
kernel-devel missing the .kernelrelease file
Last modified: 2015-01-04 17:24:30 EST
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):
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.
uname -r >/lib/modules/`uname -r`/build/.kernelrelease
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..
fixed in rawhide, thanks.
any reason this hasn't been submitted upstream btw ?
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..
no, I meant pushing your wccp module :-)