From 14a109febf068310b0d570e5ce9e3c1b6474a808 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82?= Date: Mon, 17 Aug 2026 18:04:30 +0200 Subject: [PATCH] revert: drop pacman -Scc from build container Forcing a full cache wipe re-downloads every package every build, lengthening builds and increasing exposure to slow mirrors. The truncated-download failure is transient mirror flakiness, not stale cache; pacman already falls through mirrors. Revert to upstream. --- build-iso-podman.sh | 3 --- 1 file changed, 3 deletions(-) diff --git a/build-iso-podman.sh b/build-iso-podman.sh index d6b6396..642d2bb 100755 --- a/build-iso-podman.sh +++ b/build-iso-podman.sh @@ -20,9 +20,6 @@ sudo podman run --rm --privileged --entrypoint sh \ -e INITSYS=dinit \ localhost/antergos-build:latest -c ' set -euo pipefail - # Clear the image-layer pacman cache so a truncated/corrupt download - # (e.g. noto-fonts-emoji "Truncated tar archive") can never be reused. - pacman -Scc --noconfirm >/dev/null 2>&1 || true mkdir -p /var/lib/artools/buildiso mount -t tmpfs -o size=12G,exec,suid,dev tmpfs /var/lib/artools/buildiso modprobe loop 2>/dev/null || true