I’ve added some debugging diagnostics to the drivers from github and now I need to build debian/ubuntu packages, so that I can easily revert to the official upstream versions after gathering the debug data I need: where can I find source for the debianization? (ie debian
folder containing changelog
, rules
, source control
and any other necessary files)
Thanks!
You can always download package sources from the package repository (if they were uploaded) using apt source
command. For example, apt source nvidia-graphics-drivers-550
.
The Ubuntu packaging scripts are also maintained here: GitHub - canonical/nvidia-graphics-drivers: Packaging scripts for nvidia-graphics-drivers in Ubuntu.
if there were source packages in Nvidia’s repo, I certainly wouldn’t be bothering people here ;-)
As you may have noticed looking into the control
file there, Ubuntu has a totally different structure of packages of Nvidia drivers (consisting of just 2 “binary” packages), so Ubuntu debianization is not really useful for Debian. Even Debian’s packaging structure is quite different from this of Nvidia’s packages for Debian (there’s even no nvidia-open
package in the Debian repo). That’s why Nvidia’s sources for debianization would be so useful.