Skip to content

Commit 5dc3439

Browse files
committed
cmd-build: skip-compression on manifest json
I noticed this when running some build tests: ``` + cosa compress Targeting build: 41.20241112.20.0 Compressing: builds/41.20241112.20.0/x86_64 INFO - Running command: ['xz', '-c9', '-T6', 'builds/41.20241112.20.0/x86_64/fedora-coreos-41.20241112.20.0-ostree.x86_64-manifest.json'] Compressed: fedora-coreos-41.20241112.20.0-ostree.x86_64-manifest.json.xz ``` Which I don't think we really want. Also let's make the spacing the same as the previous entry in the JSON.
1 parent 765d613 commit 5dc3439

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/cmd-build

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -571,9 +571,10 @@ cat > tmp/images.json <<EOF
571571
"skip-compression": true
572572
},
573573
"oci-manifest": {
574-
"path": "${ostree_oci_manifest_path}",
575-
"sha256": "${ostree_oci_manifest_sha256}",
576-
"size": ${ostree_oci_manifest_size}
574+
"path": "${ostree_oci_manifest_path}",
575+
"sha256": "${ostree_oci_manifest_sha256}",
576+
"size": ${ostree_oci_manifest_size},
577+
"skip-compression": true
577578
}
578579
}
579580
}

0 commit comments

Comments
 (0)