File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -200,11 +200,11 @@ build-tar: ./bin/node-problem-detector ./bin/log-counter ./test/bin/problem-make
200
200
sha1sum $(TARBALL )
201
201
md5sum $(TARBALL )
202
202
203
- build-tar-all :
203
+ build-tar-all : clean
204
204
@for arch in $(ALL_ARCH ) ; do $(MAKE ) ARCH=$$ {arch} build-in-docker; done
205
- cp bin/node-problem-detector-amd64 bin/node-problem-detector
206
- cp bin/log-counter-amd64 bin/log-counter
207
- tar -zcvf $(TARBALL-ALL ) bin/ config/ test/e2e-install.sh
205
+ @for arch in $( ALL_ARCH ) ; do cp bin/node-problem-detector-$( ARCH ) bin/node-problem-detector; done
206
+ @for arch in $( ALL_ARCH ) ; do cp bin/log-counter-$( ARCH ) bin/log-counter; done
207
+ tar -zcvf $(TARBALL-ALL ) bin/ config/ test/e2e-install.sh
208
208
sha1sum $(TARBALL-ALL )
209
209
md5sum $(TARBALL-ALL )
210
210
@@ -215,7 +215,7 @@ build: build-container build-tar
215
215
docker-builder :
216
216
docker build -t npd-builder ./builder
217
217
218
- build-in-docker : clean docker-builder
218
+ build-in-docker : docker-builder
219
219
docker run \
220
220
-e CC=$(CC ) -e GOARM=$(GOARM ) -e GOARCH=$(ARCH ) -e GOCACHE=/go/.cache/go-build \
221
221
-u $(shell id -u ${USER}) :$(shell id -g ${USER}) \
Original file line number Diff line number Diff line change @@ -55,10 +55,10 @@ function install-npd() {
55
55
mount -o remount,exec " ${BIN_DIR} "
56
56
57
57
echo " Installing NPD binary."
58
- cp " ${workdir} " /bin/node-problem-detector " ${BIN_DIR} "
58
+ cp " ${workdir} " /bin/node-problem-detector-amd64 " ${BIN_DIR} " /node-problem-detector
59
59
60
60
echo " Installing log-counter binary."
61
- cp " ${workdir} " /bin/log-counter " ${BIN_DIR} "
61
+ cp " ${workdir} " /bin/log-counter-amd64 " ${BIN_DIR} " /log-counter
62
62
63
63
echo " Installing NPD configurations."
64
64
mkdir -p " ${CONFIG_DIR} "
97
97
shift " $(( OPTIND- 1 )) "
98
98
99
99
100
- main " ${@ } "
100
+ main " ${@ } "
You can’t perform that action at this time.
0 commit comments