summaryrefslogtreecommitdiff
path: root/bin/build-packages
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-04-17 14:00:22 +0200
committerErich Eckner <git@eckner.net>2019-04-17 14:00:22 +0200
commit48a84a2ca7bf680fde1975fe87262d3fea6b1da3 (patch)
treee13aac571b3255ecc75bf741c91911f24ae08c6b /bin/build-packages
parent2d3827b12d0eda00f28147905ea579d3d07df02c (diff)
downloadbuilder-48a84a2ca7bf680fde1975fe87262d3fea6b1da3.tar.xz
bin/build-packages: tell the build master that we aborted the build due to not getting the prefered package when -s :without_systemd-nspawn: was active
Diffstat (limited to 'bin/build-packages')
-rwxr-xr-xbin/build-packages6
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/build-packages b/bin/build-packages
index 70db571..d2c3f3a 100755
--- a/bin/build-packages
+++ b/bin/build-packages
@@ -478,6 +478,12 @@ while [ "${count}" -ne 0 ] && \
if [ "${prefered_package}" != "${package}" ]; then
>&2 echo 'The prefered package was not handed out.'
>&2 echo 'Because straw :without_systemd_nspawn: is active, I will abort.'
+ # shellcheck disable=SC2029
+ ssh \
+ -i "${master_build_server_identity}" \
+ -p "${master_build_server_port}" \
+ "${master_build_server_user}@${master_build_server}" \
+ 'return-assignment' 'ABORT'
exit 2
fi
# we're not interested in what this cpu /can/ do, but what