Start work on 304.108-0ubuntu2
Attempt uninstallation of any existing .run file installation before installing Debian-packaged driver

Change-Id: Ifbfb48ef04350aa251a44c81ddac25edaba0521d
Don't assume that extracted files are writable

The package contents extracted from some .run file installers may not have write permissions enabled.

To work around this, move files instead of copying them to a temporary location before running sed scripts, and add force flags to applicable commands.

Change-Id: I4611edfa7a4e10eee995a516a3f353d1a9f16ea1
Avoid extracting unnecessary .run files

The 64-bit package needs both the 32- and 64-bit .run files, but the 32-bit package does not. Change the unpackaging rules to unpack only the native package by default, and only unpack the 32-bit x86 package on amd64.

Also, instead of changing the .run file permissions to ensure that the .run file is executable, just call it as an argument to sh.

Change-Id: Iac3c5c678ce199c63e0f34c2e393637de6e697f4
Conditionalize the copying of Makefile.kbuild to Makefile

This adds support for newer drivers, while maintaining support for packaging older drivers.

Change-Id: Idde0dd91f53f97ea3ff3cddfe36ff39e024e67b6
Add libcuda.so symlinks in /usr/lib*

Change-Id: I4ebcad5e93d80823420745061221018c9c726aa7
debian/templates/control.in: depend on lib32gcc1 [amd64], libc6-i386 [amd64]

It fixes LP: #1236945

Conflicts:

	debian/templates/control.in
Split libcuda1-$flavour, nvidia-libopencl1-$flavour and nvidia-opencl-icd-$flavour into separate packages

Conflicts:

	debian/rules
	debian/templates/control.in
	debian/templates/nvidia-graphics-drivers.links.in
	debian/templates/nvidia-graphics-drivers.links32.in
	debian/templates/nvidia-graphics-drivers.postinst.in

Conflicts:

	debian/templates/control.in
debian/templates/control.in: remove lpia
Refresh files from templates
Release 304.108-0ubuntu2
Start work on 304.108-0ubuntu3
Remove nvidia-settings icon, desktop file, and autostart file

This is all provided by nvidia-settings now.

Conflicts:

	debian/nvidia-autostart.desktop
	debian/rules
	debian/templates/nvidia-graphics-drivers.postinst.in
	debian/ubuntu-nvidia-settings.desktop
debian/templates/control.in: recommend nvidia-settings.
Refresh files from templates
Release 304.108-0ubuntu3