Compare commits

..

1 Commits

Author SHA1 Message Date
MickLesk
7e47a97305 fix(hwaccel): don't abort on AMD repo apt update failure
When repo.radeon.com has broken metadata, apt update fails with
exit code 100 and kills the entire install. Make it non-fatal so
the script can continue with cached packages or skip ROCm gracefully.

Fixes #12879
2026-03-14 21:19:16 +01:00
2 changed files with 2 additions and 2 deletions

View File

@@ -37,7 +37,7 @@ function update_script() {
fi
NODE_VERSION="24" setup_nodejs
if check_for_gh_release "PatchMon" "PatchMon/PatchMon" "1.4.2"; then
if check_for_gh_release "PatchMon" "PatchMon/PatchMon" "v1.4.2"; then
msg_info "Stopping Service"
systemctl stop patchmon-server
msg_ok "Stopped Service"

View File

@@ -4640,7 +4640,7 @@ Pin: release o=repo.radeon.com
Pin-Priority: 600
EOF
$STD apt update
$STD apt update || msg_warn "apt update failed (AMD repo may be temporarily unavailable) — continuing anyway"
# Install only runtime packages — full 'rocm' meta-package includes 15GB+ dev tools
$STD apt install -y rocm-opencl-runtime rocm-hip-runtime rocm-smi-lib 2>/dev/null || {
msg_warn "ROCm runtime install failed — trying minimal set"