On Saturday, September 07, 2013 10:50:38 PM Sid Boyce wrote:
On 07/09/13 20:26, Kyrill Detinov wrote:
On Sat, 07 Sep 2013 08:40:36 -0700 Upscope wrote:
Is there a way to repackage the.run file so I can use it on another system?
Try this: http://xmodulo.com/2013/07/how-to-create-a-self-extracting-archive-o r-installer-in-linux.html
Not tested myself.
The usual way is "sh NVIDIA-Linux-x86_64-325.15.run --apply-platch <patch_name>" which should generate a modified .run package, except when I tried it earlier it failed. From the posting on https://devtalk.nvidia.com/default/topic/549208/patch-for-325-08-on-li nux-3-10/ it seems you have to extract the archive and apply the patch.
Once it's patched on one box, you can replace nv-linux.h on other boxes in the extracted archives.
# sh NVIDIA-Linux-x86_64-325.15.run --apply-patch nvidia_3.11.diff Verifying archive integrity... OK Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 325.15................................................................ ...................................................................... ................................. can't find file to patch at input line 5 Perhaps you used the wrong -p or --strip option? The text leading up to this was: --------------------------
|Index: NVIDIA-Linux-x86_64-325.15/kernel/nv-linux.h | =================================================================== |--- NVIDIA-Linux-x86_64-325.15.orig/kernel/nv-linux.h |+++ NVIDIA-Linux-x86_64-325.15/kernel/nv-linux.h
-------------------------- File to patch:
Regards Sid.
-- Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support Senior Staff Specialist, Cricket Coach Microsoft Windows Free Zone - Linux used for all Computing Tasks
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Thanks Sid I got it working after retrying Cristians patch and doing the patch command as root. Not sure why that worked and it did not work as user. The .run file was owned by <user>:users. Oh well 325-15 works fine. Do you still work on the Amdahl. I worked on designing a computer rooom for one in Oklahoma, USA. Best system I ever worked on back in old days was as IBM AS/400. Been on openSUSE since 1999 but am not a programmer by trade. Was in Field Engineering, Data Center and Help Desk Management. Long retired now but play with Linux a lot. I use no MS software but do help my wife with her Window 7 system. Russ -- openSUSE 12.3(Linux 3.10.10-1.g8038aea-desktop)|KDE 4.11.00 |Intel core2duo 2.5 MHZ,|8GB DDR3|GeForce 8400GS (NVIDIA-Linux-x86_64-325.15) -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org