![Igor Soares](/assets/img/avatar_default.png)
As part of the efforts to fully deprecate Armada, this commit removes two packages from the StarlingX build: "armada" and "armada-helm-toolkit". In addition, it also removes the helmv2-cli script from the Helm package since helmv2 is also deprecated. Test Plan: PASS: build-pkgs --clean --all PASS: AIO-SX install PASS: AIO-SX upgrade from stx-8 Story: 2010560 Task: 48705 Change-Id: I9986a16ec23057d660cc1834d7f1c5b26564866f Signed-off-by: Igor Soares <Igor.PiresSoares@windriver.com>
39 lines
1.2 KiB
Makefile
Executable File
39 lines
1.2 KiB
Makefile
Executable File
#!/usr/bin/make -f
|
|
# vim: set expandtab!
|
|
# export DH_VERBOSE = 1
|
|
|
|
export ROOT = debian/tmp
|
|
export SBINDIR = $(ROOT)/usr/sbin
|
|
export SUDOERDIR = $(ROOT)/etc/sudoers.d
|
|
|
|
export HELM_VERSION = 3.12.2
|
|
export HELM_EXECUTABLE = linux-amd64/helm
|
|
export HELM_PKG = helm-v$(HELM_VERSION)-linux-amd64.tar.gz
|
|
|
|
export HELM_MAPKUBEAPIS_VERSION = 0.4.1
|
|
export HELM_MAPKUBEAPIS_PKG = helm-mapkubeapis_$(HELM_MAPKUBEAPIS_VERSION)_linux_amd64.tar.gz
|
|
|
|
%:
|
|
dh $@
|
|
|
|
override_dh_auto_build:
|
|
# Extract the third party helm package downloaded in dl_hook.
|
|
tar xfz $(HELM_PKG)
|
|
tar xfz $(HELM_MAPKUBEAPIS_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 -d -m 755 $(SUDOERDIR)
|
|
install -p -D -m 440 helm.sudo $(SUDOERDIR)/helm
|
|
install -d -m 755 $(ROOT)/usr/local/share/helm
|
|
install -d -m 755 $(ROOT)/usr/local/share/helm/plugins
|
|
cp -R mapkubeapis $(ROOT)/usr/local/share/helm/plugins/
|
|
install -d -m 755 $(ROOT)/usr/local/share/helm/plugins/mapkubeapis/bin
|
|
mv $(ROOT)/usr/local/share/helm/plugins/mapkubeapis/mapkubeapis $(ROOT)/usr/local/share/helm/plugins/mapkubeapis/bin/
|
|
|
|
override_dh_usrlocal:
|
|
# Do Nothing
|