Skip to content

Commit

Permalink
cmd-build: Update the summary again
Browse files Browse the repository at this point in the history
It took me a while to debug why my newly built images had old
ostree commits in them; the summary update was removed in
#190

Let's add it back in.
  • Loading branch information
cgwalters committed Nov 12, 2018
1 parent 67771f6 commit 5c9777d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/cmd-build
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,8 @@ composejson=$(pwd)/tmp/compose.json
# --cache-only is here since `fetch` is a separate verb.
runcompose --cache-only ${FORCE} --add-metadata-from-json "${commitmeta_input_json}" \
--write-composejson-to "${composejson}"
# Always update the summary, since we used to do so
ostree --repo="${workdir}/repo" summary -u
# Very special handling for --write-composejson-to as rpm-ostree doesn't
# write it if the commit didn't change.
if [ -f "${changed_stamp:?}" ]; then
Expand Down

0 comments on commit 5c9777d

Please sign in to comment.