Skip to content

Commit

Permalink
cmd-build: skip-compression on manifest json
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
dustymabe committed Nov 14, 2024
1 parent 765d613 commit 269cc85
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/cmd-build
Original file line number Diff line number Diff line change
Expand Up @@ -571,9 +571,10 @@ cat > tmp/images.json <<EOF
"skip-compression": true
},
"oci-manifest": {
"path": "${ostree_oci_manifest_path}",
"sha256": "${ostree_oci_manifest_sha256}",
"size": ${ostree_oci_manifest_size}
"path": "${ostree_oci_manifest_path}",
"sha256": "${ostree_oci_manifest_sha256}",
"size": ${ostree_oci_manifest_size},
"skip-compression": true
}
}
}
Expand Down

0 comments on commit 269cc85

Please sign in to comment.