mirror of
https://git.proxmox.com/git/proxmox-backup
synced 2025-08-13 21:05:25 +00:00
handle pve-kernel -> proxmox-kernel rename
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
parent
7b449954bb
commit
1f4ae5c777
@ -84,7 +84,7 @@ Setting up a New Partition for use as Synced ESP
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
To format and initialize a partition as synced ESP, for example, after replacing a
|
||||
failed vdev in an rpool, ``proxmox-boot-tool`` from ``pve-kernel-helper`` can be used.
|
||||
failed vdev in an rpool, ``proxmox-boot-tool`` from ``proxmox-kernel-helper`` can be used.
|
||||
|
||||
WARNING: the ``format`` command will format the ``<partition>``. Make sure to pass
|
||||
in the right device/partition!
|
||||
|
@ -354,7 +354,8 @@ pub fn get_versions() -> Result<Vec<APTUpdateInfo>, Error> {
|
||||
}
|
||||
}
|
||||
|
||||
let is_kernel = |name: &str| name.starts_with("pve-kernel-");
|
||||
let is_kernel =
|
||||
|name: &str| name.starts_with("pve-kernel-") || name.starts_with("proxmox-kernel");
|
||||
|
||||
let mut packages: Vec<APTUpdateInfo> = Vec::new();
|
||||
let pbs_packages = apt::list_installed_apt_packages(
|
||||
|
@ -131,7 +131,7 @@ impl Checker {
|
||||
let (krunning, kinstalled) = if self.upgraded {
|
||||
(
|
||||
Regex::new(r"^6\.(?:2\.(?:[2-9]\d+|1[6-8]|1\d\d+)|5)[^~]*$")?,
|
||||
"pve-kernel-6.2",
|
||||
"proxmox-kernel-6.2",
|
||||
)
|
||||
} else {
|
||||
(Regex::new(r"^(?:5\.(?:13|15)|6\.2)")?, "pve-kernel-5.15")
|
||||
|
Loading…
Reference in New Issue
Block a user