Skip to content

Commit e9dd3f8

Browse files
committed
feat: set max layers to 499
Theoretically way more layers possible (I tested with 2000+) but you can't podman run the image anymore with 500+ I think the limit used to be 255, no longer the case with Kernel 6.15+. We want as much layers as we can get away with because it makes rechunking much more efficient. See: https://github.com/containers/storage/blob/83cf57466529353aced8f1803f2302698e0b5cb7/drivers/overlay/overlay.go#L56-L81
1 parent 08d3705 commit e9dd3f8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/reusable-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ jobs:
162162
--privileged \
163163
-v /var/lib/containers:/var/lib/containers \
164164
"quay.io/fedora/fedora-bootc:latest" \
165-
/usr/libexec/bootc-base-imagectl rechunk \
165+
/usr/libexec/bootc-base-imagectl rechunk --max-layers 499 \
166166
localhost/${IMAGE_NAME}:${MATRIX_STREAM_NAME} \
167167
${BASELINE_IMAGE}
168168

Justfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ rechunk $image="aurora" $tag="latest" $flavor="main" ghcr="0" pipeline="0":
298298
--privileged \
299299
-v "/var/lib/containers:/var/lib/containers" \
300300
"quay.io/fedora/fedora-bootc:latest" \
301-
/usr/libexec/bootc-base-imagectl rechunk \
301+
/usr/libexec/bootc-base-imagectl rechunk --max-layers 499 \
302302
"localhost/${image_name}":"${tag}" \
303303
"localhost/${image_name}":"${tag}-chunked"
304304

0 commit comments

Comments
 (0)