diff -Nru zfs-linux-0.8.3/debian/changelog zfs-linux-0.8.3/debian/changelog --- zfs-linux-0.8.3/debian/changelog 2020-08-18 11:10:41.000000000 +0200 +++ zfs-linux-0.8.3/debian/changelog 2020-11-03 18:05:38.000000000 +0100 @@ -1,3 +1,11 @@ +zfs-linux (0.8.3-1ubuntu12.5) focal; urgency=medium + + * Prevent build of the zfs-dkms binary package for kernels later than 5.4. + If that is required, one should use the zfs-dkms package of a later series + (like it is done for built-in modules of Ubuntu kernels). (LP: #1902701) + + -- Stefan Bader Tue, 03 Nov 2020 18:05:38 +0100 + zfs-linux (0.8.3-1ubuntu12.4) focal; urgency=medium * Fix zfs-dkms build on arm64 with PREEMPTION and BLK_CGROUP (LP: #1892001) diff -Nru zfs-linux-0.8.3/debian/rules zfs-linux-0.8.3/debian/rules --- zfs-linux-0.8.3/debian/rules 2020-01-21 13:40:40.000000000 +0100 +++ zfs-linux-0.8.3/debian/rules 2020-11-03 18:05:21.000000000 +0100 @@ -130,6 +130,8 @@ override_dh_dkms: '$(CURDIR)/scripts/dkms.mkconf' -n $(NAME) -v $(DEB_VERSION_UPSTREAM) -f '$(CURDIR)/scripts/zfs-dkms.dkms' + sed -ie '/^PACKAGE_VERSION/a BUILD_EXCLUSIVE_KERNEL="^(4\.[0-9]+|5\.[01234])\."' \ + '$(CURDIR)/scripts/zfs-dkms.dkms' dh_dkms rm -f '$(CURDIR)/scripts/zfs-dkms.dkms'