From fab93ac4e34ad4a84c2804653291028ccc1c52ae Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Wed, 17 Dec 2025 15:45:39 -0500 Subject: [PATCH] build-sys: Keep bootc-pkg image for layer caching Removing localhost/bootc-pkg at the end of the package target also deletes the build stage layers, causing subsequent builds to miss the cache and rebuild the RPMs from scratch. Keep the image around; use `just clean-local-images` to reclaim space. Signed-off-by: Colin Walters --- Justfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Justfile b/Justfile index 6c959706..ea785827 100644 --- a/Justfile +++ b/Justfile @@ -123,7 +123,7 @@ package: _packagecontainer podman run --rm localhost/bootc-pkg tar -C /out/ -cf - . | tar -C target/packages/ -xvf - chmod a+rx target target/packages chmod a+r target/packages/*.rpm - podman rmi localhost/bootc-pkg + # Keep localhost/bootc-pkg for layer caching; use `just clean-local-images` to reclaim space # Build+test using the `composefs-sealeduki-sdboot` variant. test-composefs: