From 17f54f4873b27af1d8abd36a72d8661539761de1 Mon Sep 17 00:00:00 2001 From: Jonathan Lebon Date: Mon, 27 May 2019 11:55:09 -0400 Subject: [PATCH] cmd-build: Fix new builds from scratch Minor regression from #515. --- src/cmd-build | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/cmd-build b/src/cmd-build index ba6046e547..daf742c61a 100755 --- a/src/cmd-build +++ b/src/cmd-build @@ -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)