Page MenuHomeFreeBSD

D49821.id.diff
No OneTemporary

D49821.id.diff

diff --git a/release/scripts/make-oci-image.sh b/release/scripts/make-oci-image.sh
--- a/release/scripts/make-oci-image.sh
+++ b/release/scripts/make-oci-image.sh
@@ -95,8 +95,13 @@
local image=$1; shift
local output=$1; shift
- # Note: the diff_id (needed for image config) is the hash of the uncompressed tar
- tar -C ${workdir}/rootfs --strip-components 1 -cf ${workdir}/rootfs.tar .
+ # Note: the diff_id (needed for image config) is the hash of the
+ # uncompressed tar.
+ #
+ # For compatibility with Podman, we must disable sparse-file
+ # handling. See https://github.com/containers/podman/issues/25270 for
+ # more details.
+ tar -C ${workdir}/rootfs --strip-components 1 --no-read-sparse -cf ${workdir}/rootfs.tar .
local diff_id=$(sha256 -q < ${workdir}/rootfs.tar)
gzip -f ${workdir}/rootfs.tar
local create_time=$(date -u +%Y-%m-%dT%TZ)

File Metadata

Mime Type
text/plain
Expires
Mon, Feb 16, 7:33 PM (15 h, 56 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28787677
Default Alt Text
D49821.id.diff (863 B)

Event Timeline