From 268d06be504736a2bc122010a5cfe2acfeeedc7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82?= Date: Sun, 16 Aug 2026 22:27:17 +0200 Subject: [PATCH] fix(build): build image rootful so sudo podman run finds it --- build-iso-podman.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/build-iso-podman.sh b/build-iso-podman.sh index 7e9b499..6480d9b 100755 --- a/build-iso-podman.sh +++ b/build-iso-podman.sh @@ -7,9 +7,10 @@ set -euo pipefail cd "$(dirname "$0")" -# 1. Ensure the build image exists -if ! podman image exists localhost/antergos-build:latest; then - podman build -t antergos-build . +# 1. Ensure the build image exists (rootful — the run step below is rootful, +# and rootless podman uses a separate image store) +if ! sudo podman image exists localhost/antergos-build:latest; then + sudo podman build -t antergos-build . fi # 2. Run the build (privileged, workspace mounted, tmpfs workdir, ISO exported)