feat: set SOURCE_DATE_EPOCH on chunkah (#2651)

Should help with reproducibility and might make updates smaller for
unpackaged contents like wallpapers, homebrew.

Only downside so far that I see is that `podman images` and the like
will show up at the bottom with 56 years ago and so on. Labels like
`org.opencontainers.image.created` are of course not affected by this.

xref: https://github.com/ublue-os/aurora/issues/2350 and
https://github.com/ublue-os/aurora/issues/2579
This commit is contained in:
renner 2026-07-31 08:36:09 +02:00 committed by GitHub
parent 5cd42a896d
commit 7c3d4b62b0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -341,6 +341,7 @@ rechunk $image=default_image $tag=default_tag $flavor=default_flavor:
${PODMAN} run --rm --mount=type=image,src="${image_name}:${tag}",target=/chunkah \
-v "${CHUNKAH_CONFIG_FILE}:/chunkah-config.json:ro,Z" \
-v "${CHUNKAH_OUTPUT_DIR}:/run/out:Z" \
-e SOURCE_DATE_EPOCH=0 \
"{{ chunkah }}" \
build \
--verbose \