dc35de7b88
helm-upload was located on /usr/sbin while the puppet module was expecting it to be located in /usr/local/sbin. Put it in the place where the puppet module was expecting it. Test Plan: Pass Build helm with correct paths. Pass Check to see if helm-upload is located in /usr/local/sbin. Story: 2009101 Task: 43715 Signed-off-by: Charles Short <charles.short@windriver.com> Change-Id: I0dc22b4e5888cbfd26728588d0c09a5a47bd3305
30 lines
791 B
Makefile
Executable File
30 lines
791 B
Makefile
Executable File
#!/usr/bin/make -f
|
|
# export DH_VERBOSE = 1
|
|
|
|
export ROOT = debian/tmp
|
|
export SBINDIR = $(ROOT)/usr/sbin
|
|
export SUDOERDIR = $(ROOT)/etc/sudoers.d
|
|
|
|
export HELM_VERSION = 3.2.1
|
|
export HELM_EXECUTABLE = linux-amd64/helm
|
|
export HELM_PKG = helm-v$(HELM_VERSION)-linux-amd64.tar.gz
|
|
|
|
%:
|
|
dh $@
|
|
|
|
override_dh_auto_build:
|
|
# Extract the third party helm package downloaded in dl_hook.
|
|
tar xfz $(HELM_PKG)
|
|
|
|
override_dh_auto_install:
|
|
install -d -m 755 $(SBINDIR)
|
|
install -d -m 755 $(ROOT)/usr/local/sbin
|
|
install -p -D -m 755 $(HELM_EXECUTABLE) $(SBINDIR)
|
|
install -p -D -m 755 helm-upload $(ROOT)/usr/local/sbin
|
|
install -p -D -m 755 helmv2-cli.sh $(ROOT)/usr/local/sbin/helmv2-cli
|
|
install -d -m 755 $(SUDOERDIR)
|
|
install -p -D -m 440 helm.sudo $(SUDOERDIR)/helm
|
|
|
|
override_dh_usrlocal:
|
|
# Do Nothing
|