From 153b3def196f8c5c8f366e1e2980e0df65417aa8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82?= Date: Mon, 17 Aug 2026 17:54:54 +0200 Subject: [PATCH] fix(build): clear pacman cache before build --- build-iso-podman.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build-iso-podman.sh b/build-iso-podman.sh index 642d2bb..d6b6396 100755 --- a/build-iso-podman.sh +++ b/build-iso-podman.sh @@ -20,6 +20,9 @@ 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