Am Freitag, den 31.03.2006, 20:14 -0600 schrieb Jonathan Berry: > On 3/31/06, Thorsten Leemhuis <fedora@xxxxxxxxxxxxx> wrote: > > 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 > > That's some great info, Thorsten, thanks! Do you know how this > behaves on x86_64 where there is only an "smp" kernel? I think only > uname reports the kernel as smp [...] Nope. The x86_64 FC5 kernel in regards of packaging behaves just like the UP i686 kernel. E.g. everything works if you just use rpmbuild --rebuild kmod-foo --define "kversion 2.6.16-1.2080_FC5" --define "kvariants """ > Are there plans to > implement this feature for FC4 srpms? Nope, this would only confuse users. CU thl -- Thorsten Leemhuis <fedora@xxxxxxxxxxxxx>