Skip to content

Commit

Permalink
cmd-build: Fix new builds from scratch
Browse files Browse the repository at this point in the history
Minor regression from #515.
  • Loading branch information
jlebon committed May 27, 2019
1 parent de8f556 commit 17f54f4
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 @@ -196,6 +196,8 @@ if [ -n "${previous_build}" ]; then
rpm-ostree --repo="${tmprepo}" db diff --format=json \
"${previous_commit}" "${commit}" | \
jq '{pkgdiff: .pkgdiff}' > tmp/diff.json
else
echo '{}' > tmp/diff.json
fi

image_input_checksum=$( (echo "${commit}" && echo "${image_config_checksum}") | sha256sum_str)
Expand Down

0 comments on commit 17f54f4

Please sign in to comment.