debian: Correct helm-upload path

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
This commit is contained in:
Charles Short 2022-01-24 13:11:26 +00:00
parent f61b3d66b1
commit dc35de7b88
2 changed files with 8 additions and 4 deletions

View File

@ -1,4 +1,4 @@
etc/sudoers.d/helm etc/sudoers.d/helm
usr/sbin/helm usr/sbin/helm
usr/sbin/helm-upload usr/local/sbin/helm-upload
usr/sbin/helmv2-cli usr/local/sbin/helmv2-cli

View File

@ -18,8 +18,12 @@ override_dh_auto_build:
override_dh_auto_install: override_dh_auto_install:
install -d -m 755 $(SBINDIR) 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_EXECUTABLE) $(SBINDIR)
install -p -D -m 755 helm-upload $(SBINDIR) install -p -D -m 755 helm-upload $(ROOT)/usr/local/sbin
install -p -D -m 755 helmv2-cli.sh $(SBINDIR)/helmv2-cli install -p -D -m 755 helmv2-cli.sh $(ROOT)/usr/local/sbin/helmv2-cli
install -d -m 755 $(SUDOERDIR) install -d -m 755 $(SUDOERDIR)
install -p -D -m 440 helm.sudo $(SUDOERDIR)/helm install -p -D -m 440 helm.sudo $(SUDOERDIR)/helm
override_dh_usrlocal:
# Do Nothing