Integrate the Netapp Trident installer in build

The Netapp Trident installer comes in the form of
a tarball. That tarball includes an example folder,
an extras folder and the tridentctl installer itself.

From this tarball all we need is the installer itself,
so we only include it into an RPM to be installed.

Change-Id: I91c6be915b097c934569469c9e0a7a16ab3e8177
Story: 2007391
Task: 38986
Signed-off-by: Stefan Dinescu <stefan.dinescu@windriver.com>
This commit is contained in:
Stefan Dinescu 2020-03-03 09:09:54 +00:00
parent eeaaaf5796
commit f80a248eda
4 changed files with 37 additions and 0 deletions

View File

@ -51,6 +51,7 @@ config/puppet-modules/openstack/puppet-oslo-11.3.0
base/systemd
storage-drivers/python-3parclient
storage-drivers/python-lefthandclient
storage-drivers/trident-installer
security/tboot
networking/mellanox/libibverbs
kernel/kernel-modules/mlnx-ofa_kernel

View File

@ -72,6 +72,7 @@ spdk-f474ce6930f0a44360e1cc4ecd606d2348481c4c.tar.gz#spdk#https://api.github.com
spectre-meltdown-checker-0.37+-5cc77741.tar.gz#spectre-meltdown-checker#https://github.com/speed47/spectre-meltdown-checker/tarball/5cc77741af1d2f52140aa9f89339f56b6c4b6783#http##
swtpm-0.1.0-253eac5.tar.gz#swtpm-0.1.0#https://github.com/stefanberger/swtpm/tarball/1303be7d03294fb02204cb8242f366cbf0da076d#http##
!tpm-kmod-e6aef069.tar.gz#tpm#http://git.infradead.org/users/jjs/linux-tpmdd.git/snapshot/e6aef069b6e97790cb127d5eeb86ae9ff0b7b0e3.tar.gz#http_script#post-dl-script/tpm-kmod.sh
trident-installer-20.01.0.tar.gz#trident-installer-20.01.0#https://github.com/NetApp/trident/releases/download/v20.01.0/trident-installer-20.01.0.tar.gz#https##
!tss2-930.tar.gz#tss2-930#https://git.code.sf.net/p/ibmtpm20tss/tss#git#v930#
xxHash-1f40c6511fa8dd9d2e337ca8c9bc18b3e87663c9.tar.gz#xxHash#https://api.github.com/repos/ceph/xxHash/tarball/1f40c6511fa8dd9d2e337ca8c9bc18b3e87663c9#https##
zstd-f4340f46b2387bc8de7d5320c0b83bb1499933ad.tar.gz#zstd#https://api.github.com/repos/facebook/zstd/tarball/f4340f46b2387bc8de7d5320c0b83bb1499933ad#https##

View File

@ -0,0 +1,2 @@
COPY_LIST="$CGCS_BASE/downloads/trident-installer-20.01.0.tar.gz"
TIS_PATCH_VER=1

View File

@ -0,0 +1,33 @@
Summary: trident-installer
Name: trident-installer
Version: 20.01.0
Release: 0%{?_tis_dist}.%{tis_patch_ver}
License: GPLv2 and GPLv2+ and LGPLv2+ and Public Domain and BSD
Group: base
Packager: Wind River <info@windriver.com>
URL: https://github.com/NetApp/trident/releases/download/v20.01.0/trident-installer-20.01.0.tar.gz
Source0: %{name}-%{version}.tar.gz
Requires: nfs-utils
%description
Netapp Trident-installer
https://netapp-trident.readthedocs.io/en/stable-v20.01/introduction.html
%define debug_package %{nil}
%prep
%setup -q
%build
%install
mkdir -p %{buildroot}/%{_bindir}
install -m 755 tridentctl %{buildroot}/%{_bindir}/tridentctl
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%{_bindir}/tridentctl