1
0
mirror of https://github.com/rancher/os-kernel.git synced 2025-09-25 20:48:58 +00:00

fix the error exiting, and use the Makefile logging

Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
This commit is contained in:
Sven Dowideit
2017-03-30 09:37:00 +00:00
parent 8aba322c41
commit 9fa5914ef3
3 changed files with 9 additions and 3 deletions

View File

@@ -8,7 +8,7 @@ TARGETS := $(shell ls scripts | grep -vE 'clean')
@mv .dapper.tmp .dapper
$(TARGETS): .dapper
./.dapper $@ | tee $@.log
./.dapper $@ 2>&1 | tee $@.log
shell-bind: .dapper
./.dapper -m bind -s

View File

@@ -3,7 +3,10 @@ set -e
cd $(dirname $0)/..
./scripts/download
if ! ./scripts/download; then
echo "blah"
exit 1
fi
./scripts/extract
run-parts -v ./scripts/hooks
./scripts/build-kernel

View File

@@ -2,7 +2,10 @@
cd $(dirname $0)/..
./scripts/ci 2>&1 | tee build.log
if ! ./scripts/ci; then
echo "build failure see release.log"
exit 1
fi
mv build.log dist/
echo