From: Stoiko Ivanov <s.ivanov@proxmox.com>
To: pmg-devel@lists.proxmox.com
Subject: [pmg-devel] [PATCH pmg-api] pmg7to8: skip kernel checks for pmg-mailgateway-container
Date: Mon, 26 Jun 2023 22:59:40 +0200 [thread overview]
Message-ID: <20230626205940.35334-1-s.ivanov@proxmox.com> (raw)
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
---
quickly tested on a system upgraded from the pmg container template
src/PMG/CLI/pmg7to8.pm | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/PMG/CLI/pmg7to8.pm b/src/PMG/CLI/pmg7to8.pm
index 41482e6..ea29056 100644
--- a/src/PMG/CLI/pmg7to8.pm
+++ b/src/PMG/CLI/pmg7to8.pm
@@ -187,6 +187,11 @@ sub check_pmg_packages {
log_fail("$pkg package is too old, please upgrade to >= $min_pmg_ver!");
}
+ if ($pkg eq 'proxmox-mailgateway-container') {
+ log_skip("Ignoring kernel version checks for $pkg meta-package");
+ return;
+ }
+
# FIXME: better differentiate between 6.2 from bullseye or bookworm
my ($krunning, $kinstalled) = (qr/6\.(?:2\.(?:[2-9]\d+|1[6-8]|1\d\d+)|5)[^~]*$/, 'pve-kernel-6.2');
if (!$upgraded) {
--
2.30.2
next reply other threads:[~2023-06-26 21:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-26 20:59 Stoiko Ivanov [this message]
2023-06-27 5:28 ` [pmg-devel] applied: " 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=20230626205940.35334-1-s.ivanov@proxmox.com \
--to=s.ivanov@proxmox.com \
--cc=pmg-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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal