summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-04-26 16:53:25 +0200
committerChristian Poessinger <christian@poessinger.com>2019-04-26 16:53:25 +0200
commitf8dbc8a37ff5935408a6a71907fea4fb0f5b5e46 (patch)
treea9dfe589d3d41eb537b173cd5fa877b248eb70e4 /Makefile
parentddfa418a3ed9239097e7456b1319c4c192b9742f (diff)
parent9c7483c79f1d364d6f7666eb5af5da761be126e0 (diff)
downloadvyos-build-f8dbc8a37ff5935408a6a71907fea4fb0f5b5e46.tar.gz
vyos-build-f8dbc8a37ff5935408a6a71907fea4fb0f5b5e46.zip
Merge branch 'source-build' of https://github.com/c-po/vyos-build into current
* 'source-build' of https://github.com/c-po/vyos-build: Docker: fix pmacct build dependencies Packages: support --blacklist option to not build individual packages Packages: fix missing bytes stuck in the output buffer Docker: add package requirements to build keepalived Docker: Use close sections when working with jessie-backports README: adjust chapters to new VyOS package build script Packages: extract kernel version from defaults.json Packages: use 'make kernelversion' instead of grep magic Packages: add bgpq3 (debian/0.1.33-1) package to build procedure Jenkins: archive ISO and build.log artifacts Makefile: proper handle 'make iso' error codes Packages: remove vyatta-quagga Packages: add ethtool (debian/1%4.19-1) package to build procedure Packages: define custom command for vyos-strongswan intel: adjust URL for ixgbevf 4.5.2 Replace build-submodules with Python based package builder Remove outdated/unmaintained submodules
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 3bfa9597..628574e2 100644
--- a/Makefile
+++ b/Makefile
@@ -28,9 +28,13 @@ prepare:
.ONESHELL:
iso: check_build_config clean prepare
@set -e
+ @set -o pipefail
@echo "It's not like I'm building this specially for you or anything!"
cd $(build_dir)
lb build 2>&1 | tee build.log
+ if [ "$?" != "0" ]; then
+ exit 1
+ fi
cd ..
@scripts/copy-image