[pkg-nvidia-devel] Bug#556470: nvidia-graphics-drivers: should use -pkg0.run for x86_64 as well
Sven Joachim
svenjoac at gmx.de
Mon Nov 16 12:18:34 UTC 2009
Package: nvidia-graphics-drivers
Version: 190.42-1
Severity: normal
Tags: patch
The source package wastes several megabytes of bandwith and disk space
by using the -pkg2.run file for the 64-bit driver, which includes
prebuilt modules that are not used at all. It should use the -pkg0.run
file like it is done for the i386 version. It would be nice if you
could fix this when packaging the next upstream release. Here is patch
that should be sufficient:
--8<---------------cut here---------------start------------->8---
--- debian/upstream_info~ 2009-11-16 12:52:39.000000000 +0100
+++ debian/upstream_info 2009-11-16 13:12:14.288010547 +0100
@@ -6,7 +6,7 @@
if [ "$DEB_BUILD_ARCH" = "amd64" ] ; then
BASE_URL=ftp://download.nvidia.com/XFree86/Linux-x86_64/${RELEASE}
- DIRNAME=NVIDIA-Linux-x86_64-${RELEASE}-pkg2
+ DIRNAME=NVIDIA-Linux-x86_64-${RELEASE}-pkg0
# change this on next version release
FILENAME=$DIRNAME.run
elif [ "$DEB_BUILD_ARCH" = "i386" ] ; then
@@ -18,9 +18,9 @@
exit 1
fi
FILENAME_X86=NVIDIA-Linux-x86-${RELEASE}-pkg0.run
-FILENAME_X86_64=NVIDIA-Linux-x86_64-${RELEASE}-pkg2.run
+FILENAME_X86_64=NVIDIA-Linux-x86_64-${RELEASE}-pkg0.run
DIRNAME_X86=NVIDIA-Linux-x86-${RELEASE}-pkg0
-DIRNAME_X86_64=NVIDIA-Linux-x86_64-${RELEASE}-pkg2
+DIRNAME_X86_64=NVIDIA-Linux-x86_64-${RELEASE}-pkg0
VERSION=${RELEASE}
UPSTREAMVERSION=${RELEASE}
--8<---------------cut here---------------end--------------->8---
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (x86_64)
Kernel: Linux 2.6.31.6-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
More information about the Pkg-nvidia-devel
mailing list