Compare commits

...

No commits in common. 'c9' and 'i8' have entirely different histories.
c9 ... i8

@ -0,0 +1,86 @@
From 5d431acad965384bec4cf0df1d07f59ddbd414ef Mon Sep 17 00:00:00 2001
From: tigro <tigro@msvsphere-os.ru>
Date: Tue, 12 Dec 2023 16:25:36 +0300
Subject: [PATCH] eth fast fabric 11 msvsphere_support
---
CommonInstall/util_init.pl | 2 ++
MakeTools/funcs-ext.sh | 1 +
OpenIb_Host/build_packages.sh | 2 +-
OpenIb_Host/get_id_and_versionid.sh | 1 +
build_package.sh | 2 +-
5 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/CommonInstall/util_init.pl b/CommonInstall/util_init.pl
index 452b93d..d3f5a4a 100755
--- a/CommonInstall/util_init.pl
+++ b/CommonInstall/util_init.pl
@@ -246,6 +246,7 @@ sub determine_os_version()
"centos" => "redhat",
"rocky" => "redhat",
"almalinux" => "redhat",
+ "msvsphere" => "redhat",
"circle" => "redhat",
"oracle" => "redhat",
"opencloudos" => "opencloudos",
@@ -258,6 +259,7 @@ sub determine_os_version()
"centos" => $NETWORK_CONF_DIR,
"rocky" => $NETWORK_CONF_DIR,
"almalinux" => $NETWORK_CONF_DIR,
+ "msvsphere" => $NETWORK_CONF_DIR,
"circle" => $NETWORK_CONF_DIR,
"oracle" => $NETWORK_CONF_DIR,
"opencloudos" => $NETWORK_CONF_DIR,
diff --git a/MakeTools/funcs-ext.sh b/MakeTools/funcs-ext.sh
index c97531e..b51ceea 100755
--- a/MakeTools/funcs-ext.sh
+++ b/MakeTools/funcs-ext.sh
@@ -738,6 +738,7 @@ function os_vendor()
[fedora]="redhat"
[rocky]="redhat"
[almalinux]="redhat"
+ [msvsphere]="redhat"
[circle]="redhat"
[ol]="redhat"
[opencloudos]="opencloudos"
diff --git a/OpenIb_Host/build_packages.sh b/OpenIb_Host/build_packages.sh
index b8cd62c..7a11acd 100755
--- a/OpenIb_Host/build_packages.sh
+++ b/OpenIb_Host/build_packages.sh
@@ -42,7 +42,7 @@ echo "Packages version [$pkgversion] release [$pkgrelease], args [$BUILD_ARGS]"
build_deb="no"
spec_mpi="UNDEFINED"
spec_ff="UNDEFINED"
-if [ "$id" = "rhel" -o "$id" = "centos" -o "$id" = "rocky" -o "$id" = "almalinux" -o "$id" = "circle" -o "$id" = "ol" ]; then
+if [ "$id" = "rhel" -o "$id" = "centos" -o "$id" = "rocky" -o "$id" = "almalinux" -o "$id" = "msvsphere" -o "$id" = "circle" -o "$id" = "ol" ]; then
GE_8_0=$(echo "$versionid >= 8.0" | bc)
if [ $GE_8_0 = 1 ]; then
spec_mpi="mpi-apps.spec.rh8+"
diff --git a/OpenIb_Host/get_id_and_versionid.sh b/OpenIb_Host/get_id_and_versionid.sh
index 36f5500..41b4ee9 100755
--- a/OpenIb_Host/get_id_and_versionid.sh
+++ b/OpenIb_Host/get_id_and_versionid.sh
@@ -13,6 +13,7 @@ declare -A vendor_map=(
[centos]="rhel"
[rocky]="rhel"
[almalinux]="rhel"
+ [msvsphere]="rhel"
[circle]="rhel"
[ol]="ol"
[opencloudos]="ocs"
diff --git a/build_package.sh b/build_package.sh
index 58beffe..4bd6c18 100755
--- a/build_package.sh
+++ b/build_package.sh
@@ -3,7 +3,7 @@
read id versionid <<< $(OpenIb_Host/get_id_and_versionid.sh)
case $id in
- rhel|centos|rocky|almalinux|circle|ol)
+ rhel|centos|rocky|almalinux|msvsphere|circle|ol)
spec_ff="OpenIb_Host/eth-tools.spec.rh" ;;
fedora)
spec_ff="OpenIb_Host/eth-tools.spec.fedora" ;;
--
2.43.0

@ -1,11 +1,14 @@
Name: eth-tools
Version: 11.5.0.0
Release: 173%{?dist}
Release: 173%{?dist}.inferit
Summary: Intel Ethernet Fabric Suite basic tools and libraries for fabric management
License: BSD
Url: https://github.com/intel/eth-fast-fabric
Source: %url/archive/refs/tags/v%{version_no_tilde}.tar.gz
Source: %url/archive/refs/tags/v%{version}.tar.gz
# MSVSphere
Patch0: 0001-eth-fast-fabric-11-msvsphere_support.patch
ExclusiveArch: x86_64
# The Intel(R) Ethernet Fabric Suite product line is only available on x86_64 platforms at this time.
@ -40,7 +43,7 @@ Requires: eth-tools-basic%{?_isa} >= %{version}-%{release}
Contains tools for managing fabric on a management node.
%prep
%autosetup -n eth-fast-fabric-%{version_no_tilde}
%autosetup -n eth-fast-fabric-%{version} -p1
%build
cd OpenIb_Host
@ -91,31 +94,36 @@ BUILDDIR=%{_builddir} DESTDIR=%{buildroot} LIBDIR=%{_prefix}/lib DSAP_LIBDIR=%{_
%changelog
* Tue Dec 12 2023 Arkady L. Shane <tigro@msvsphere-os.ru> - 1:11.5.0.0-173.inferit
- Update to 11.5.0.0
* Fri Sep 01 2023 Sergey Cherevko <s.cherevko@msvsphere.ru> - 1:11.4.0.0-201.inferit
- Added MSVSphere support and rebuilt for MSVSphere 8.8
* Tue Jul 25 2023 MSVSphere Packaging Team <packager@msvsphere.ru> - 1:11.4.0.0-201
- Rebuilt for MSVSphere 8.8
* Fri Jun 02 2023 Kamal Heib <kheib@redhat.com> - 1:11.5.0.0-173
- Update to upstream release 11.5.0.0
- Resolves: rhbz#2144026
- Add gating tests
- Resolves: rhbz#2144025
* Fri Feb 03 2023 Michal Schmidt <mschmidt@redhat.com> - 1:11.4.0.0-201
* Wed Feb 08 2023 Michal Schmidt <mschmidt@redhat.com> - 11.4.0.0-201
- Update to upstream release 11.4.0.0
- Resolves: rhbz#2097531
- Resolves: rhbz#2168118
* Wed Aug 03 2022 Michal Schmidt <mschmidt@redhat.com> - 1:11.3.0.0-1
* Wed Aug 17 2022 Michal Schmidt <mschmidt@redhat.com> - 11.3.0.0-1
- Update to upstream release 11.3.0.0
- Resolves: rhbz#2037052
- Resolves: rhbz#2037048
* Tue Nov 09 2021 Honggang Li <honli@redhat.com> - 1:11.1.0.1-5
* Tue Nov 09 2021 Honggang Li <honli@redhat.com> - 11.1.0.1-5
- Update to upstream release 11.1.0.1
- Fix annocheck issues
- Resolves: rhbz#2019268
* Wed Oct 27 2021 Honggang Li <honli@redhat.com> - 1:11.1.0.0-180
- Update to upstream release 11.1.0.0
- Resolves: rhbz#1991463
- Related: rhbz#1989435
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1:11.0.0.0-164
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Thu Jul 08 2021 Honggang Li <honli@redhat.com> - 11.0.0.0-164
- Add osci gating test for RHEL8
- Related: rhbz#1919015
* Thu Jul 01 2021 Honggang Li <honli@redhat.com> - 11.0.0.0-163
- Import Intel Ethernet Fast Fabric Suite for RHEL9
- Resolves: rhbz#1919019
* Tue Jun 08 2021 Honggang Li <honli@redhat.com> - 11.0.0.0-163
- Import Intel Ethernet Fast Fabric Suite for RHEL8
- Resolves: rhbz#1919015

Loading…
Cancel
Save