Bail out if apt-proxy fails.
This commit is contained in:
parent
93f9565c55
commit
c7f7977622
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue