postinst and d/control should refer to the same version, fail the build otherwise. the build failure will be fixed with the next commit.
Signed-off-by: Fabian Grünbichler <[email protected]> --- debian/rules | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index cb304a5..8bca11a 100755 --- a/debian/rules +++ b/debian/rules @@ -2,7 +2,16 @@ # -*- makefile -*- # Uncomment this to turn on verbose mode. -#export DH_VERBOSE=1 +export DH_VERBOSE=1 + +KERNEL_VER=6.17 + +build: debian/check-no-old-kver.stamp + +debian/check-no-old-kver.stamp: debian/control + grep "proxmox-kernel-${KERNEL_VER}" debian/control + grep "vmlinuz-${KERNEL_VER}" debian/*.postinst + touch $@ %: dh $@ -- 2.47.3 _______________________________________________ pve-devel mailing list [email protected] https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
