Building Livna's NVIDIA kernel modules

From Nearline Storage
Jump to: navigation, search

When Livna doesn't get the new kernel module out soon enough:

$ yumdownloader --source buildsys-build-rpmfusion
$ yumdownloader --source nvidia-kmod
$ rpm -ivh *.src.rpm
$ cd ~/rpmbuild/SOURCES/
$ vi buildsys-build-rpmfusion-kerneldevpkgs-current
$ vi buildsys-build-rpmfusion-kerneldevpkgs-newest
   make sure those files contain the version number of the kernel you want to build modules for
$ cd ~/rpmbuild/SPECS/
$ rpmbuild -bb buildsys-build-rpmfusion.spec
$ sudo rpm -ivh ../RPMS/x86_64/buildsys-build-rpmfusion-*
$ rpmbuild -bb nvidia-kmod.spec
$ sudo rpm -ivh ../RPMS/x86_64/kmod-nvidia-*
$ rm ../RPMS/x86_64/*