Adding sriov-network-device-plugin spec file (#4005)
* adding sriov-network-device-plugin spec file * Update make to make build for test * Patch file * testing only source 0 * removing patch * comment out auto * Successful SPEC with rpm built * whitespace removed for linting * Changelog fix * formatted spec file * formatted license file * License Map updated * License map fix #2 * updated version to 3.4.0 and added ddptool file * ddptool in usr/share * license map update * updated entrypoint script name
This commit is contained in:
Родитель
a550edb94c
Коммит
e5b12606dc
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
|
@ -2183,6 +2183,7 @@
|
|||
"shim-unsigned-x64",
|
||||
"skopeo",
|
||||
"span-lite",
|
||||
"sriov-network-device-plugin",
|
||||
"swupdate",
|
||||
"SymCrypt",
|
||||
"SymCrypt-OpenSSL",
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"Signatures": {
|
||||
"sriov-network-device-plugin-3.4.0.tar.gz": "670a94299dc144d239f16af342d6d92aaa84e0dd730fe5b8d889255cae7a4063"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,37 @@
|
|||
Summary: Plugin for discovering and advertising networking resources
|
||||
Name: sriov-network-device-plugin
|
||||
Version: 3.4.0
|
||||
Release: 1%{?dist}
|
||||
License: MIT
|
||||
Vendor: Microsoft Corporation
|
||||
Distribution: Mariner
|
||||
URL: https://github.com/k8snetworkplumbingwg/sriov-network-device-plugin
|
||||
Source0: https://github.com/k8snetworkplumbingwg/%{name}/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
BuildRequires: golang
|
||||
|
||||
%description
|
||||
sriov-network-device-plugin is Kubernetes device plugin for discovering and advertising networking
|
||||
resources in the form of SR-IOV virtual functions and PCI physical functions
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
go build -mod vendor -o ./build/sriovdp ./cmd/sriovdp/
|
||||
|
||||
%install
|
||||
install -D -m0755 build/sriovdp %{buildroot}%{_bindir}/sriovdp
|
||||
install -D -m0755 images/entrypoint.sh %{buildroot}%{_bindir}/%{name}-entrypoint.sh
|
||||
install -D -m0755 images/ddptool-1.0.1.12.tar.gz %{buildroot}/usr/share/%{name}/ddptool-1.0.1.12.tar.gz
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
%{_bindir}/sriovdp
|
||||
%{_bindir}/%{name}-entrypoint.sh
|
||||
/usr/share/%{name}/ddptool-1.0.1.12.tar.gz
|
||||
|
||||
%changelog
|
||||
* Fri Sep 23 2022 Aditya Dubey <adityadubey@microsoft.com> - 3.4.0-1
|
||||
- Original version for CBL-Mariner
|
||||
- License Verified
|
|
@ -25602,6 +25602,16 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"component": {
|
||||
"type": "other",
|
||||
"other": {
|
||||
"name": "sriov-network-device-plugin",
|
||||
"version": "3.4.0",
|
||||
"downloadUrl": "https://github.com/k8snetworkplumbingwg/sriov-network-device-plugin/archive/refs/tags/v3.4.0.tar.gz"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"component": {
|
||||
"type": "other",
|
||||
|
|
Загрузка…
Ссылка в новой задаче