From 5c15c5211365031cb08e8e39f85986d6ecefd0e2 Mon Sep 17 00:00:00 2001 From: Dorian Date: Wed, 25 Mar 2026 21:31:51 +0000 Subject: [PATCH] fix: add --no-cache to rootfs Docker build to prevent stale layer caching Podman was caching the rootfs Docker layers, meaning firmware packages and sources.list changes were never picked up on rebuild. Force fresh build every time since the rootfs tar is the real cache. Co-Authored-By: Claude Opus 4.6 (1M context) --- image-recipe/build-auto-installer-iso.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/image-recipe/build-auto-installer-iso.sh b/image-recipe/build-auto-installer-iso.sh index 2ad0544e..622995e7 100755 --- a/image-recipe/build-auto-installer-iso.sh +++ b/image-recipe/build-auto-installer-iso.sh @@ -383,7 +383,7 @@ SYSTEMDSERVICE fi echo " Building $CONTAINER_CMD image (this may take a few minutes)..." - $CONTAINER_CMD build --platform $CONTAINER_PLATFORM -t archipelago-rootfs -f "$WORK_DIR/Dockerfile.rootfs" "$WORK_DIR" + $CONTAINER_CMD build --no-cache --platform $CONTAINER_PLATFORM -t archipelago-rootfs -f "$WORK_DIR/Dockerfile.rootfs" "$WORK_DIR" echo " Exporting filesystem..." $CONTAINER_CMD create --platform $CONTAINER_PLATFORM --name archipelago-rootfs-tmp archipelago-rootfs