Skip to content

Commit 8728ac5

Browse files
committed
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 <walters@verbum.org>
1 parent dc84ec9 commit 8728ac5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Justfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ package: _packagecontainer
115115
podman run --rm localhost/bootc-pkg tar -C /out/ -cf - . | tar -C target/packages/ -xvf -
116116
chmod a+rx target target/packages
117117
chmod a+r target/packages/*.rpm
118-
podman rmi localhost/bootc-pkg
118+
# Keep localhost/bootc-pkg for layer caching; use `just clean-local-images` to reclaim space
119119

120120
# Build+test using the `composefs-sealeduki-sdboot` variant.
121121
test-composefs:

0 commit comments

Comments
 (0)