Building Livna RPMs (slightly OT)

Thorsten Leemhuis fedora at leemhuis.info
Wed Oct 3 10:50:31 UTC 2007


On 02.10.2007 23:08, Stewart Adam wrote:
> On Tue, 2007-10-02 at 12:55 -0400, Matthew Saltzman wrote:
>> I'm trying to build the NVidia proprietary driver for the latest F8T2
>> kernels, but the Livna RPM requires RPMs from the kmod-helpers-livna
>> SRPM. 

Use:

$ wget http://livna-dl.reloumirrors.net/fedora/development/SRPMS/nvidia-kmod-100.14.11-4.lvn8.src.rpm 
$ rpmbuild --rebuild nvidia-kmod-100.14.11-4.lvn8.src.rpm --define "kernels $(uname -r)"
[...]
Created: /home/thl/rpmbuild/RPMS/x86_64/kmod-nvidia-2.6.23-0.202.rc8.fc8-100.14.11-4.fc8.4.x86_64.rpm
[...]
$ rpm -ivh /home/thl/rpmbuild/RPMS/x86_64/kmod-nvidia-2.6.23-0.202.rc8.fc8-100.14.11-4.fc8.4.x86_64.rpm

>> These have buit-in lists of kernels that don't reflect the latest
>> ones.

I'll update those today for the test3 kernels. EPEL and rpmfusion 
kept me busy in the past weeks and I didn't found time to update 
the kmod stuff in livna. 

>> Any place where using those tools is documented?

Not yet, sorry. I'm still testing some improvements.

>>  Or is it possible at
>> all to build Livna kmods independently?

See above. You can also build build for multiple kernels in one go by
using "--define "kernels foo bar" -- thos don't have to be packaged 
as RPM, thus you can use it for you self-compiled kernels as well.

>> Also, how does the new "no kmods" policy affect how Livna will provide
>> these modules?

Livna (and rpmfusion sooner or later) will continue to ship kernels
modules. How rpmfusion will do it exatly sill needs to be discussed.

> Thorsten Leemhuis (knurd in #livna) is the one working on the this
> package. I'm not 100% sure how it works but I know it will help make the
> building of Livna kmods much easier. I looked at it brieflya few weeks
> back, I think you just need to edit the "newest-kernels" and
> "latest-kernels" files in /usr/share/kmod-helpers-livna and it will
> rebuild properly.

Still working on it and I need to revert some parts for now as yum and mock
don't work as I expected them to work(¹) :-(( So some features will have to wait

CU
knurd 

(¹) -- seems at least in the current livna buildsys with not up2date versions 
of rpm/yum/mock only the latest kernel-devel package gets installed if you have
another package that for example has
BuildRequires: kernel-devel-x86_64 = 2.6.23-0.214.rc8.git2.fc8
BuildRequires: kernel-devel-x86_64 = 2.6.23-0.202.rc8.fc8
Not sure yet if thats a bug or a feature. 




More information about the fedora-devel-list mailing list