From 838d1eb56e6cdd66874e12be10e621218b1f3a3c Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Sat, 10 Nov 2018 13:32:49 +0000 Subject: [PATCH] cmd-build: Update the summary again It took me a while to debug why my newly built images had old ostree commits in them; the summary update was removed in https://github.com/coreos/coreos-assembler/pull/190 Let's add it back in. --- src/cmdlib.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cmdlib.sh b/src/cmdlib.sh index a7bf4245f0..794ba747e5 100755 --- a/src/cmdlib.sh +++ b/src/cmdlib.sh @@ -86,6 +86,7 @@ prepare_build() { manifest_tmp_json=${workdir}/tmp/manifest.json rpm-ostree compose tree --repo=repo --print-only ${manifest} > ${manifest_tmp_json} + ostree --repo=repo summary -u # Abuse the rojig/name as the name of the VM images export name=$(jq -r '.rojig.name' < ${manifest_tmp_json})