Building 364.12 from svn

Floris jkfloris at dds.nl
Thu Mar 31 13:22:19 UTC 2016


I like to try the beta version so I tried to make the .deb packages out of  
the .run packages

Steps I tried so far with trial and error:
Download from svn
$ svn co  
svn://anonscm.debian.org/pkg-nvidia/packages/nvidia-graphics-drivers/trunk  
nvidia-graphics-driver

Download the .run packages from nvidia and create the tar archive in the  
tarballs directory
$ ls tarballs/*
tarballs/nvidia-graphics-drivers_364.12.orig.tar.gz

tarballs/nvidia-graphics-drivers-364.12.orig:
  NVIDIA-Linux-x86-364.12.run  NVIDIA-Linux-x86_64-364.12.run

Update the changelog with:
debchange --distribution UNRELEASED --newversion 364.12-1

Edit the rules.defs file, so the build is only for amd64 and i386
ARCH_LIST		 = i386 amd64

Edit man-fixes-nvidia-smi.patch and replace on line 114 and 116  
"EXCLUSIVE_THREAD" with "PROHIBITED"

Update nv-readme.ids with the new PCIID codes

Edit line 182 in rules:
replaced:
$(foreach a,$(DEB_HOST_ARCH) $(ARCH_DEPS_$(DEB_HOST_ARCH)),cp -a  
NVIDIA-Linux-$a/kernel/nv-kernel.o $(module_source)/nv-kernel-$a.o_shipped  
;)
with:
$(foreach a,$(DEB_HOST_ARCH) $(ARCH_DEPS_$(DEB_HOST_ARCH)),cp -a  
NVIDIA-Linux-$a/kernel/nvidia/nv-kernel.o_binary  
$(module_source)/nv-kernel-$a.o_shipped ;)

try to build the .deb packages with:
$ svn-buildpackage --svn-ignore -us -uc -rfakeroot

The build stops when quilt tries to patch nvidia-modules-common.mk, but  
there is no file named nvidia-modules-common


Can I remove all the nvidia-modules-common patches? Or is there an other  
way to build the Debian packages from svn?

Floris
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: buildlog.txt
URL: <http://lists.alioth.debian.org/pipermail/pkg-nvidia-devel/attachments/20160331/aa9a4bb1/attachment-0001.txt>


More information about the pkg-nvidia-devel mailing list