* updated knights (21.12.1 -> 21.12.2), untested
[t2-trunk.git] / package / x11 / nvidia-legacy / module-install-24.patch
blobd7e4f855dcdbf3d847851d1aa0300b375d41251e
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../nvidia/module-install-24.patch
5 # Copyright (C) 2004 - 2005 The T2 SDE Project
6 #
7 # More information can be found in the files COPYING and README.
8 #
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
14 # version.
15 # --- T2-COPYRIGHT-NOTE-END ---
17 Do not call depmod (especially not without the currently building version
18 attached) as well as not injecting some device nodes ...
20 - Rene Rebe <rene@exactcode.de>
22 --- NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src/nv/Makefile.nvidia.orig 2005-05-25 20:20:05.000000000 +0200
23 +++ NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src/nv/Makefile.nvidia 2005-06-13 10:00:48.000000000 +0200
24 @@ -116,9 +116,7 @@
25 package-install: module suser-sanity-check rmmod-sanity-check
26 mkdir -p $(MODULE_ROOT)/video && \
27 install -m 0664 -o root -g root nvidia.o $(MODULE_ROOT)/video/nvidia.o$(O) && \
28 - PATH="$(PATH):/bin:/sbin" depmod -a && \
29 - PATH="$(PATH):/bin:/sbin" modprobe nvidia && \
30 - echo "nvidia.o installed successfully."; \
31 + echo "nvidia.o installed successfully."
33 $(VERSION_HDR):
34 echo \#define NV_COMPILER \"`$(CC) -v 2>&1 | tail -n 1`\" > $@