commit: e9a8798abcbd3f3b28cd0161fd214d6da75b610d
Author: Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
AuthorDate: Wed May 7 04:46:19 2025 +0000
Commit: Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Wed May 7 04:46:19 2025 +0000
URL: https://gitweb.gentoo.org/proj/binhost.git/commit/?id=e9a8798a
binhost-update: do a checkpoint immediately after the non-ephemeral build
... rather than doing one twice in a row after the final variant for
each builder.
Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org>
builders/milou/binhost-update | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/builders/milou/binhost-update b/builders/milou/binhost-update
index 34d350c..6498909 100755
--- a/builders/milou/binhost-update
+++ b/builders/milou/binhost-update
@@ -145,6 +145,7 @@ for n in "${NSPAWN_NAMES[@]}" ; do
"${nspawn_command[@]}" -M ${n} /root/bin/run-update &>> ${TMPFILE}
ret=$?
let "anyfail+=${ret}"
+ checkpoint_build
if [[ ${ret} = 0 ]]; then
builder=/etc/$(readlink ${machinedir}/etc/binhost.this)/portage
echo "Starting variant builds for ${machinedir}/${builder}..."
&>> ${TMPFILE}
@@ -156,7 +157,6 @@ for n in "${NSPAWN_NAMES[@]}" ; do
checkpoint_build
done
fi
- checkpoint_build
done
set +x