public inbox for pmg-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pmg-devel] [PATCH pmg-api] pmg7to8: skip kernel checks for pmg-mailgateway-container
@ 2023-06-26 20:59 Stoiko Ivanov
  2023-06-27  5:28 ` [pmg-devel] applied: " Thomas Lamprecht
  0 siblings, 1 reply; 2+ messages in thread
From: Stoiko Ivanov @ 2023-06-26 20:59 UTC (permalink / raw)
  To: pmg-devel

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





^ permalink raw reply	[flat|nested] 2+ messages in thread

* [pmg-devel] applied: [PATCH pmg-api] pmg7to8: skip kernel checks for pmg-mailgateway-container
  2023-06-26 20:59 [pmg-devel] [PATCH pmg-api] pmg7to8: skip kernel checks for pmg-mailgateway-container Stoiko Ivanov
@ 2023-06-27  5:28 ` Thomas Lamprecht
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Lamprecht @ 2023-06-27  5:28 UTC (permalink / raw)
  To: Stoiko Ivanov, pmg-devel

Am 26/06/2023 um 22:59 schrieb Stoiko Ivanov:
> 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(+)
> 
>

applied, thanks!




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-06-27  5:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-26 20:59 [pmg-devel] [PATCH pmg-api] pmg7to8: skip kernel checks for pmg-mailgateway-container Stoiko Ivanov
2023-06-27  5:28 ` [pmg-devel] applied: " Thomas Lamprecht

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal