Rebuild src.rpm kernel driver for non-running kernel
Thorsten Leemhuis
fedora at leemhuis.info
Fri Mar 31 06:13:31 UTC 2006
Am Donnerstag, den 30.03.2006, 23:25 -0600 schrieb Jonathan Berry:
> I tried doing this with the nvidia driver for FC5T3 once with very
> poor results. I had to go hack into the spec file to change the way
> it got the kernel version (it used some self-contained script to get
> the kernel version (or versions)). Not at all an ideal way to do it.
> It would be really nice to just pass in a KVER=2.6.16-1.2069_FC4 or
> something with the rpmbuild --rebuild command.
rpmbuild --rebuild kmod-foo --define "kversion 2.6.16-1.2080_FC5" --define "kvariants """
For example would rebuild for the UP kernel of 2.6.16-1.2080_FC5 even if
you are currently running 2.6.16-1.2054_FC5. This only works correctly
with the latest kmod-SRPMS from livna.
rpmbuild --rebuild kmod-foo --define "kversion 2.6.16-1.2080_FC5" --define "kvariants smp"
Would build for 2.6.16-1.2080_FC5smp
Sorry, this in not documented anywhere yet. We are simply to less folks
in livna atm and still have a lot to do to make everything work
perfectly. We really could need more help from the community.
CU
thl
More information about the fedora-list
mailing list