-
Notifications
You must be signed in to change notification settings - Fork 169
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
src/cmd-compress: don't require image.json for decompression
b60dc1f caused the `cosa buildfetch --artifact=ostree && cosa decompress` path to fail since there was no local ostree repo and no ociarchive that got downloaded. Let's drop the image.json search into the compress path only. While we are here let's call import_ostree_commit (which also calls extract_image_json) instead of extract_image_json and add a function called get_image_json() that helps us iterate over the possible architectures to find a build with all the pieces necessary to get the image.json.
- Loading branch information
Showing
1 changed file
with
33 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters