Bail out if apt-proxy fails.

This commit is contained in:
Andreas B. Mundt 2022-06-26 12:44:07 +02:00 committed by Andreas B. Mundt
parent 93f9565c55
commit c7f7977622

View file

@ -21,6 +21,11 @@ run_build(){
## main: ## main:
if ! auto-apt-proxy | grep -q 'http://127.0.0.1:3142' ; then
echo "Cannot find the local apt proxy needed to build live images."
exit 1
fi
for IMG in {{ build_images|join(' ') }} ; do for IMG in {{ build_images|join(' ') }} ; do
echo "=========== Building image $IMG ===========" echo "=========== Building image $IMG ==========="
run_build $IMG run_build $IMG