mirror of
https://github.com/rancher/os-kernel.git
synced 2025-09-25 04:17:44 +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:
2
Makefile
2
Makefile
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user