[ATrpms-users] atrpms kernel module for centosplus build

Axel Thimm Axel.Thimm at ATrpms.net
Sun Nov 4 13:07:33 CET 2007


On Sun, Nov 04, 2007 at 10:58:41PM +1100, Jean-Yves Avenard wrote:
> On 11/4/07, Jean-Yves Avenard <jyavenard at gmail.com> wrote:
> > thank you heaps for this..
> > building know, will see  how it goes...
> 
> Well, it no better than following Axel instruction
> 
>  ~/bin/bkmdl.sh `uname -r`
> ~/RPM/SRPMS/nvidia-graphics100.14.19-100.14.19-92.src.rpm
> 
> ERROR: No NVIDIA driver is currently installed; the '--kernel-module-only'
>       option can only be used to install the NVIDIA kernel module on top of an
>       existing driver installation.
> + test -z ''
> + exit 1
> error: Bad exit status from /home/avenardj/redhat/tmp/rpm-tmp.47841 (%install)

Hi,

nvidia-graphics needs some special handling before building it - the
buildroot needs to have the folder

/var/lib/nvidia

which the non-root builder can't create, so you need to do so as root
before calling rpmbuild. You also need to write

NVIDIA Accelerated Graphics Driver for Linux-x86_64 or
NVIDIA Accelerated Graphics Driver for Linux-x86

into /var/lib/nvidia/log, so the nvidia installer is fooled that you
have created the userland parts already.

BTW I started yesterday to build kmdls for centosplus, so perhaps you
could just lay back for half a day and you'll get the kmdls :)
(but it isn't wrong to get some exercise with kmdl building either :)
-- 
Axel.Thimm at ATrpms.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.atrpms.net/pipermail/atrpms-users/attachments/20071104/e9245104/attachment.bin 


More information about the atrpms-users mailing list