@@ -128,3 +128,12 @@ override_dh_prep: debian/scripts/fix-filenames
override_dh_auto_install: prepare-dkms $(flavours)
dh_install
+
+gencontrol_flags = -Vdkms:nvidia-390-modules="nvidia-dkms-390 (= $(dkms_nvidia_390_version))"
+gencontrol_flags += -Vdkms:nvidia-435-modules="nvidia-dkms-435 (= $(dkms_nvidia_435_version))"
+gencontrol_flags += -Vdkms:nvidia-440-modules="nvidia-dkms-440 (= $(dkms_nvidia_440_version))"
+gencontrol_flags += -Vdkms:nvidia-418-server-modules="nvidia-dkms-418-server (= $(dkms_nvidia_418_server_version))"
+gencontrol_flags += -Vdkms:nvidia-440-server-modules="nvidia-dkms-440-server (= $(dkms_nvidia_440_server_version))"
+
+override_dh_gencontrol:
+ dh_gencontrol -- $(gencontrol_flags)
From: Andy Whitcroft <apw@canonical.com> Export the dkms provides data for use in control templates. This is based on Andy's work on LP: #1856414. BugLink: https://bugs.launchpad.net/bugs/1856414 --- debian/rules | 9 +++++++++ 1 file changed, 9 insertions(+)