From: "Fabian Grünbichler" <f.gruenbichler@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [pve-devel] [PATCH kernel-meta 2/3] rules: add check for kernel version consistency
Date: Mon, 15 Dec 2025 10:35:13 +0100 [thread overview]
Message-ID: <20251215093530.284466-2-f.gruenbichler@proxmox.com> (raw)
In-Reply-To: <20251215093530.284466-1-f.gruenbichler@proxmox.com>
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 <f.gruenbichler@proxmox.com>
---
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
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
next prev parent reply other threads:[~2025-12-15 9:35 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-15 9:35 [pve-devel] [PATCH kernel-meta 1/3] build: remove dead code Fabian Grünbichler
2025-12-15 9:35 ` Fabian Grünbichler [this message]
2025-12-15 9:35 ` [pve-devel] [PATCH kernel-meta 3/3] fix #7140: postinst: generate correct 6.17 symlinks Fabian Grünbichler
2025-12-15 13:03 ` [pve-devel] applied: [PATCH kernel-meta 1/3] build: remove dead code Thomas Lamprecht
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20251215093530.284466-2-f.gruenbichler@proxmox.com \
--to=f.gruenbichler@proxmox.com \
--cc=pve-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox