[SOLVED] nVIDIA 346.35 and nvidia-mgabuild.sh

nVIDIA has a new long lived branch driver 346.35: http://www.nvidia.com/object/unix.html
http://onse.fi/nvidia-mgabuild/ can be used to create rpm's from this .run downloadable file.
This website is not up to date and refers to:
http://svnweb.mageia.org/packages/cauldron/nvidia-current/current/?pathrev=811426
Which contains a 2 year old nvidia-mgabuild-skel
and nvidia-current.spec already updated for this new long lived driver by tmb.
gives a lot of not normal text output and finally
With the previous driver NVIDIA-Linux-x86_64-340.65.run the script still runs fine and creates working rpm's.
What could be wrong?
P.S. I plan to use this new driver on Mageia 4 x86_64.
http://onse.fi/nvidia-mgabuild/ can be used to create rpm's from this .run downloadable file.
This website is not up to date and refers to:
http://svnweb.mageia.org/packages/cauldron/nvidia-current/current/?pathrev=811426
Which contains a 2 year old nvidia-mgabuild-skel
and nvidia-current.spec already updated for this new long lived driver by tmb.
- Code: Select all
cat nvidia-mgabuild-skel nvidia-current.spec > nvidia-mgabuild.sh
- Code: Select all
bash nvidia-mgabuild.sh NVIDIA-Linux-x86_64-346.35.run
gives a lot of not normal text output and finally
- Code: Select all
error: Bad exit status from /tmp/nvidia-mgabuild.2r7dCi/tmp/rpm-tmp.tANr3C (%install)
With the previous driver NVIDIA-Linux-x86_64-340.65.run the script still runs fine and creates working rpm's.
What could be wrong?
P.S. I plan to use this new driver on Mageia 4 x86_64.