update 1.2.2.2 beta

This commit is contained in:
MacRimi
2026-06-12 20:05:17 +02:00
parent 761357b737
commit 6e1e47d9fd
5 changed files with 12 additions and 1 deletions

View File

@@ -1070,6 +1070,7 @@ run_nvidia_installer() {
if [[ "${NOUVEAU_STILL_LOADED:-false}" == "true" ]]; then
msg_info "$(translate 'Rebuilding initramfs to apply nouveau blacklist before installation...')"
update-initramfs -u -k all >>"$LOG_FILE" 2>&1 || true
proxmox-boot-tool refresh >>"$LOG_FILE" 2>&1 || true
# Try one more time to unload nouveau after initramfs rebuild
modprobe -r nouveau 2>/dev/null || true
sleep 1
@@ -1524,6 +1525,7 @@ main() {
msg_info "$(translate 'Updating initramfs for all kernels...')"
update-initramfs -u -k all >>"$LOG_FILE" 2>&1 || true
proxmox-boot-tool refresh >>"$LOG_FILE" 2>&1 || true
msg_ok "$(translate 'initramfs updated.')"
msg_info2 "$(translate 'Checking NVIDIA driver status with nvidia-smi')"
@@ -1566,6 +1568,7 @@ main() {
msg_info "$(translate 'Updating initramfs for all kernels...')"
update-initramfs -u -k all >>"$LOG_FILE" 2>&1 || true
proxmox-boot-tool refresh >>"$LOG_FILE" 2>&1 || true
msg_ok "$(translate 'initramfs updated.')"
restart_prompt

View File

@@ -1214,6 +1214,7 @@ switch_to_vm_mode() {
if [[ "$HOST_CONFIG_CHANGED" == "true" ]]; then
msg_info "$(translate 'Updating initramfs (this may take a minute)...')"
update-initramfs -u -k all >>"$LOG_FILE" 2>&1
proxmox-boot-tool refresh >>"$LOG_FILE" 2>&1 || true
msg_ok "$(translate 'initramfs updated')" | tee -a "$screen_capture"
fi
}
@@ -1285,6 +1286,7 @@ switch_to_lxc_mode() {
if [[ "$HOST_CONFIG_CHANGED" == "true" ]]; then
msg_info "$(translate 'Updating initramfs (this may take a minute)...')"
update-initramfs -u -k all >>"$LOG_FILE" 2>&1
proxmox-boot-tool refresh >>"$LOG_FILE" 2>&1 || true
msg_ok "$(translate 'initramfs updated')" | tee -a "$screen_capture"
fi
}

View File

@@ -1040,6 +1040,7 @@ switch_to_vm_mode() {
if [[ "$HOST_CONFIG_CHANGED" == "true" ]]; then
msg_info "$(translate 'Updating initramfs (this may take a minute)...')"
update-initramfs -u -k all >>"$LOG_FILE" 2>&1
proxmox-boot-tool refresh >>"$LOG_FILE" 2>&1 || true
msg_ok "$(translate 'initramfs updated')" | tee -a "$screen_capture"
fi
}
@@ -1111,6 +1112,7 @@ switch_to_lxc_mode() {
if [[ "$HOST_CONFIG_CHANGED" == "true" ]]; then
msg_info "$(translate 'Updating initramfs (this may take a minute)...')"
update-initramfs -u -k all >>"$LOG_FILE" 2>&1
proxmox-boot-tool refresh >>"$LOG_FILE" 2>&1 || true
msg_ok "$(translate 'initramfs updated')" | tee -a "$screen_capture"
fi
}