From 3a5e780f9d3eec82c5285c5eb44c99d29bad0c35 Mon Sep 17 00:00:00 2001 From: Pablo Acevedo Montserrat Date: Wed, 15 Jul 2026 14:09:56 +0200 Subject: [PATCH] NO-ISSUE: tolerate podman image cleanup failures in cleanup-composer.sh A stuck container that won't stop within the podman timeout causes `podman rmi -af` to fail, which with `set -e` kills the entire iso-build step even when all builds actually succeeded. --- scripts/devenv-builder/cleanup-composer.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/devenv-builder/cleanup-composer.sh b/scripts/devenv-builder/cleanup-composer.sh index fde05e336d..b3cccb4b45 100755 --- a/scripts/devenv-builder/cleanup-composer.sh +++ b/scripts/devenv-builder/cleanup-composer.sh @@ -25,8 +25,8 @@ clean_podman_images() { if [ "${FULL_CLEAN}" = 1 ] ; then title "Cleaning up container images" - sudo podman rmi -af - podman rmi -af + sudo podman rmi -af || true + podman rmi -af || true # Ensure the user-specific container storage is deleted sudo rm -rf ~/.local/share/containers/ fi