Skip to content

Commit

Permalink
installer: Rely on tmp/repo
Browse files Browse the repository at this point in the history
This came up in discussion about delaying creation of the "ostree repo tarball":
#985

Today the other artifact types *rely* on `tmp/repo` having the just-built
commit, so let's make the installer be consistent.  This aims to reduce
dependence on the tarball.
  • Loading branch information
cgwalters committed Dec 9, 2019
1 parent d972fc2 commit 2d98966
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/cmd-buildextend-installer
Original file line number Diff line number Diff line change
Expand Up @@ -457,12 +457,5 @@ def generate_iso():
write_json(buildmeta_path, buildmeta)
print(f"Updated: {buildmeta_path}")


commit_tar_name = 'ostree-commit.tar'
if 'ostree' in buildmeta['images']:
commit_tar_name = buildmeta['images']['ostree']['path']
commit_tar = os.path.join(builddir, commit_tar_name)
import_ostree_commit(repo, buildmeta_commit, commit_tar)

# Do it!
generate_iso()

0 comments on commit 2d98966

Please sign in to comment.