mirror of
https://github.com/rancher/os-kernel.git
synced 2025-09-26 13:05:46 +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
|
@mv .dapper.tmp .dapper
|
||||||
|
|
||||||
$(TARGETS): .dapper
|
$(TARGETS): .dapper
|
||||||
./.dapper $@ | tee $@.log
|
./.dapper $@ 2>&1 | tee $@.log
|
||||||
|
|
||||||
shell-bind: .dapper
|
shell-bind: .dapper
|
||||||
./.dapper -m bind -s
|
./.dapper -m bind -s
|
||||||
|
@@ -3,7 +3,10 @@ set -e
|
|||||||
|
|
||||||
cd $(dirname $0)/..
|
cd $(dirname $0)/..
|
||||||
|
|
||||||
./scripts/download
|
if ! ./scripts/download; then
|
||||||
|
echo "blah"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
./scripts/extract
|
./scripts/extract
|
||||||
run-parts -v ./scripts/hooks
|
run-parts -v ./scripts/hooks
|
||||||
./scripts/build-kernel
|
./scripts/build-kernel
|
||||||
|
@@ -2,7 +2,10 @@
|
|||||||
|
|
||||||
cd $(dirname $0)/..
|
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/
|
mv build.log dist/
|
||||||
|
|
||||||
echo
|
echo
|
||||||
|
Reference in New Issue
Block a user