@@ -1,9 +1,9 @@
-Package: linux-modules-nvidia-440${variant:suffix}
+Package: linux-modules-nvidia-450${variant:suffix}
Build-Profiles: <!stage1>
Architecture: amd64
Section: kernel
-Provides: ${dkms:nvidia-440-modules}
-Depends: ${misc:Depends}, linux-modules-nvidia-440-ABI-oem (= ${binary:Version}),
- ${nvk:nvidia-440}
-Description: Extra drivers for nvidia-440 for the OEM flavour
- Install extra signed nvidia-440 modules compatible with the OEM flavour.
+Provides: ${dkms:nvidia-450-modules}
+Depends: ${misc:Depends}, linux-modules-nvidia-450-ABI-oem (= ${binary:Version}),
+ ${nvk:nvidia-450}
+Description: Extra drivers for nvidia-450 for the OEM flavour
+ Install extra signed nvidia-450 modules compatible with the OEM flavour.
@@ -1,4 +1,4 @@
-Package: linux-modules-nvidia-440-ABI-oem
+Package: linux-modules-nvidia-450-ABI-oem
Build-Profiles: <!stage1>
Architecture: amd64
Section: kernel
new file mode 100644
@@ -0,0 +1,6 @@
+Package: linux-modules-nvidia-440-oem
+Architecture: amd64
+Section: oldlibs
+Depends: linux-modules-nvidia-450-oem
+Description: Extra drivers for nvidia-440 for the oem flavour (dummy transitional package)
+ Transitional package for upgrades of -440 to -450.
@@ -1,3 +1,3 @@
zfs-linux 0.8.3-1ubuntu12
-nvidia-graphics-drivers-440 440.100-0ubuntu0.20.04.1
+nvidia-graphics-drivers-450 0
virtualbox 6.1.6-dfsg-1
@@ -16,9 +16,9 @@ series = $(shell dpkg-parsechangelog | sed -ne 's/^Distribution: *//p' | sed -e
VARIANT_PROVIDES=$(shell echo "$(src_package)" | sed -e 's/linux-restricted-modules-//')
-dkms_nvidia_440_version=$(shell gawk '/^nvidia-graphics-drivers-440 / { print $$2; }' debian/dkms-versions)
+dkms_nvidia_450_version=$(shell gawk '/^nvidia-graphics-drivers-450 / { print $$2; }' debian/dkms-versions)
-nvidia_440_upstream_version=$(shell echo "$(dkms_nvidia_440_version)" | cut -d '-' -f 1)
+nvidia_450_upstream_version=$(shell echo "$(dkms_nvidia_450_version)" | cut -d '-' -f 1)
# Get variants, assumng primary if debian/variants is not present
variants = --
@@ -125,10 +125,10 @@ flavours=$(patsubst /usr/lib/linux/$(src_abi)-%,nvidia-%,$(signatures))
nvidia-%:
rm -rf $(dkms_dir)/build $(dkms_dir)/source
mkdir -p $(dkms_dir)/build $(dkms_dir)/source
- install -d debian/linux-modules-nvidia-440-$(src_abi)-$*
- install -d debian/linux-modules-nvidia-440-$(src_abi)-$*/usr/lib/linux/triggers
- $(call build_dkms, $(src_abi)-$*, linux-modules-nvidia-440-$(src_abi)-$*, $(CURDIR)/debian/linux-modules-nvidia-440-$(src_abi)-$*/lib/modules/$(src_abi)-$*/kernel, "", nvidia-440, pool/restricted/n/nvidia-graphics-drivers-440/nvidia-kernel-source-440_$(dkms_nvidia_440_version)_$(arch).deb pool/restricted/n/nvidia-graphics-drivers-440/nvidia-dkms-440_$(dkms_nvidia_440_version)_$(arch).deb)
- $(call install_control,linux-modules-nvidia-440-$(src_abi)-$*,$*,nvidia,440,postinst postrm prerm config templates)
+ install -d debian/linux-modules-nvidia-450-$(src_abi)-$*
+ install -d debian/linux-modules-nvidia-450-$(src_abi)-$*/usr/lib/linux/triggers
+ $(call build_dkms, $(src_abi)-$*, linux-modules-nvidia-450-$(src_abi)-$*, $(CURDIR)/debian/linux-modules-nvidia-450-$(src_abi)-$*/lib/modules/$(src_abi)-$*/kernel, "", nvidia-450, pool/restricted/n/nvidia-graphics-drivers-450/nvidia-kernel-source-450_$(dkms_nvidia_450_version)_$(arch).deb pool/restricted/n/nvidia-graphics-drivers-450/nvidia-dkms-450_$(dkms_nvidia_450_version)_$(arch).deb)
+ $(call install_control,linux-modules-nvidia-450-$(src_abi)-$*,$*,nvidia,450,postinst postrm prerm config templates)
prepare-dkms:
mkdir -p $(dkms_dir)
@@ -137,9 +137,9 @@ prepare-dkms:
override_dh_auto_install: prepare-dkms $(flavours)
dh_install
-gencontrol_flags += -Vdkms:nvidia-440-modules="nvidia-dkms-440 (= $(dkms_nvidia_440_version))"
+gencontrol_flags += -Vdkms:nvidia-450-modules="nvidia-dkms-450 (= $(dkms_nvidia_450_version))"
-gencontrol_flags += -Vnvk:nvidia-440="nvidia-kernel-common-440 (<= $(nvidia_440_upstream_version)-1), nvidia-kernel-common-440 (>= $(nvidia_440_upstream_version))"
+gencontrol_flags += -Vnvk:nvidia-450="nvidia-kernel-common-450 (<= $(nvidia_450_upstream_version)-1), nvidia-kernel-common-450 (>= $(nvidia_450_upstream_version))"
override_dh_gencontrol:
dh_gencontrol -- $(gencontrol_flags)
The 450 series replaces the 440 series, which we are adding transitional packages for. BugLink: https://bugs.launchpad.net/bugs/1887674 Signed-off-by: Alberto Milone <alberto.milone@canonical.com> --- debian/control.d/meta-nvidia | 12 ++++++------ debian/control.d/nvidia | 2 +- debian/control.d/transitionals-nvidia-440 | 6 ++++++ debian/dkms-versions | 2 +- debian/rules | 16 ++++++++-------- 5 files changed, 22 insertions(+), 16 deletions(-) create mode 100644 debian/control.d/transitionals-nvidia-440