CREATE RPM FROM NVIDIA DRIVER

Anyone knows how to make a RPM file from Nvidia binary driver??
Of yes then some links or hlp would be needed.Thanks

Hi
Did you see the post with a link to the spec file I posted in the
pre-release forum? Once you have the spec file and the sh file, just
copy both to your /usr/src/packages/SOURCE directory then use the
command;


rpmbuild -ba <name-of-spec-file>

This is all done as a user…not root. Then you need to work through
the errors…lol There is lots of info on the build service about spec
files and rpms.


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.1 x86 Kernel 2.6.27.7-4-default
up 22:15, 2 users, load average: 0.41, 0.22, 0.18
GPU GeForce 6600 TE/6200 TE - Driver Version: 177.82

Did You actually use it to build the RPM??
If yes then how does it work?

If You build a rpm from that then let me know, i run only to problems with that spec file

Hi
Just had a quick look, if you extract the run file (the one you can
manually download) in the src directory there is a readme on commands
to run for building the modules.

Nope, I haven’t got around to it, I just use the sh file, so much
quicker… I probably will, but am busy building other modules, rpms
etc for my system which have priority :slight_smile:


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.1 x86 Kernel 2.6.27.7-4-default
up 22:43, 2 users, load average: 0.05, 0.09, 0.09
GPU GeForce 6600 TE/6200 TE - Driver Version: 177.82

How can i extract it??

Hi
If you copy the downloaded file to it’s own directory then run the
command for example on the 32bit version;


sh NVIDIA-Linux-x86-177.82-pkg1.run --extract-only --target tmp/

Then in the tmp directory it creates are all the files. The above
command is also in the spec file. As you read down, each line is a
command or action to perform to create a rpm.


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.1 x86 Kernel 2.6.27.7-4-default
up 23:25, 2 users, load average: 0.83, 0.71, 0.48
GPU GeForce 6600 TE/6200 TE - Driver Version: 177.82

Stupid me, You just reminded me that :smiley:
I completely forgot there is a set of commands to use with those drivers heh.

There’s too much fuss with that :smiley:
I’ll make a script for that :smiley: