]> git.proxmox.com Git - pve-manager.git/commit
pve7to8: make check for correct running kernel more resilient
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 12 Jun 2023 14:28:49 +0000 (16:28 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 12 Jun 2023 14:28:51 +0000 (16:28 +0200)
commit0038166cc57986f560699205f2889a18124b4582
tree4320774c60179439c63631f5a88e9de37e8eeff9
parent46c37d9c8fffb884bf3d1de36d127a213675d72f
pve7to8: make check for correct running kernel more resilient

users can have the 6.2 kernel already installed, so this check needs
to cope with that.

The last non-bpo version on bullseye releases was 6.2.11-2-pve and
the first release for bookworm was 6.2.16-1-pve, so use a regex that
matches the bookworm one and newer, but fails with any tilde
characters, which must be used for any 6.2 update in bullseye from
now on to ensure correct upgrades.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
PVE/CLI/pve7to8.pm