On Sat, Aug 6, 2016 at 2:23 PM, Patrick Shanahan <paka@opensuse.org> wrote:
So how would you apply the patch to NVIDIA-Linux-x86_64-367.35.run
sh ./NVIDIA-Linux-x86_64-367.35.run -aqs --apply-patch ./nvidia-367.35-kernel-4.7.patch
does not work :(...
In this setup you don't need to touch the .run file, since the patches are applied as part of the build process. The spec file contains the following snippets Patch1: nvidia-kernel-4.6.diff Patch2: nvidia-kernel-4.7.diff .... pushd NVIDIA-Linux-x86*-%{version}*/kernel # apply patches here ... %ifarch x86_64 %if %kver >= 406000 %patch1 -p1 rm nvidia-uvm/*.orig chmod 0644 nvidia-uvm/uvm8_get_rm_ptes_test.c %endif %endif %if %kver >= 407000 %patch2 -p1 %endif popd But the point is that the patches are usually already applied so you just need to run the build. Robert -- http://robert.muntea.nu/ -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org