Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F145084695
D49821.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
863 B
Referenced Files
None
Subscribers
None
D49821.id.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D49821: release: Avoid sparse-file handling for container image layers
Attached
Detach File
Event Timeline
Log In to Comment