diff --git a/debian/control b/debian/control index 4ab6bda..619244e 100644 --- a/debian/control +++ b/debian/control @@ -2,7 +2,8 @@ Source: zfs-linux Section: contrib/kernel Priority: optional Maintainer: Proxmox Support Team -Build-Depends: debhelper (>= 10~), +Build-Depends: abigail-tools, + debhelper (>= 10~), dh-python, libblkid-dev, libelf-dev, diff --git a/debian/rules b/debian/rules index fe09e2e..836e4bc 100755 --- a/debian/rules +++ b/debian/rules @@ -47,6 +47,12 @@ override_dh_auto_configure: done override_dh_auto_test: +override_dh_auto_test: +ifeq (amd64,$(DEB_HOST_ARCH)) + # Upstream provides an ABI guarantee that we validate here + $(MAKE) checkabi +endif + # The dh_auto_test rule is disabled because # `make check` cannot run in an unprivileged build environment.