[pve-devel] [PATCH installer 3/3] install: run `make tidy`
Christoph Heiss
c.heiss at proxmox.com
Tue Jul 15 15:55:41 CEST 2025
Signed-off-by: Christoph Heiss <c.heiss at proxmox.com>
---
Proxmox/Install.pm | 6 ++++--
Proxmox/Install/RunEnv.pm | 1 +
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/Proxmox/Install.pm b/Proxmox/Install.pm
index 09ee724..c15251f 100644
--- a/Proxmox/Install.pm
+++ b/Proxmox/Install.pm
@@ -1271,8 +1271,10 @@ _EOD
&& !Proxmox::Install::Config::get_first_boot_opt('enabled'));
# support installing a matching CPU microcode package by default
- next if ($deb =~ /^amd64-microcode_/ && $run_env->{cpu_vendor_id} ne 'AuthenticAMD');
- next if ($deb =~ /^intel-microcode_/ && $run_env->{cpu_vendor_id} ne 'GenuineIntel');
+ next
+ if ($deb =~ /^amd64-microcode_/ && $run_env->{cpu_vendor_id} ne 'AuthenticAMD');
+ next
+ if ($deb =~ /^intel-microcode_/ && $run_env->{cpu_vendor_id} ne 'GenuineIntel');
update_progress($count / $pkg_count, 0.5, 0.75, "extracting $deb");
diff --git a/Proxmox/Install/RunEnv.pm b/Proxmox/Install/RunEnv.pm
index ce89346..16c02af 100644
--- a/Proxmox/Install/RunEnv.pm
+++ b/Proxmox/Install/RunEnv.pm
@@ -39,6 +39,7 @@ sub query_total_memory : prototype() {
}
my $_cached_cpu_info = undef;
+
sub query_cpu_info : prototype() {
return $_cached_cpu_info if defined($_cached_cpu_info);
--
2.49.0
More information about the pve-devel
mailing list