Skip to content

Commit 38bc304

Browse files
Andrew Kerrkangarlou
authored andcommitted
Rename trident's binary in installer bundle
1 parent ead136c commit 38bc304

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ PORT ?= 8000
2121
ROOT = $(shell pwd)
2222
BIN_DIR = ${ROOT}/bin
2323
BIN ?= trident_orchestrator
24+
TARBALL_BIN ?= trident
2425
CLI_BIN ?= tridentctl
2526
CLI_PKG ?= github.com/netapp/trident/cli
2627
K8S ?= ""
@@ -149,7 +150,7 @@ dist_tar:
149150
@cp ${BIN_DIR}/${CLI_BIN} /tmp/trident-installer/
150151
@cp -a extras /tmp/trident-installer/
151152
@mkdir -p /tmp/trident-installer/extras/bin
152-
@cp ${BIN_DIR}/${BIN} /tmp/trident-installer/extras/bin
153+
@cp ${BIN_DIR}/${BIN} /tmp/trident-installer/extras/bin/${TARBALL_BIN}
153154
@cp launcher/docker-build/launcher /tmp/trident-installer/extras/bin
154155
-rm -rf /tmp/trident-installer/setup/backend.json /tmp/trident-installer/extras/container-tools
155156
@rm -rf /tmp/trident-installer/extras/external-etcd/etcd-copy

0 commit comments

Comments
 (0)