- Resolves: RHEL-115187, Enhance lsvpd to update VPD for Nvidia OTS Adapters
- Resolves: RHEL-102476, Update to 1.7.17
This commit is contained in:
parent
b5a611cdd4
commit
4ec32ade31
1
.gitignore
vendored
1
.gitignore
vendored
@ -16,3 +16,4 @@ lsvpd-1.6.8.tar.gz
|
||||
/lsvpd-1.7.12.tar.gz
|
||||
/lsvpd-1.7.14.tar.gz
|
||||
/lsvpd-1.7.15.tar.gz
|
||||
/lsvpd-1.7.17.tar.gz
|
||||
|
||||
22
lsvpd-add-FRU-number-for-Spyre-cards.patch
Normal file
22
lsvpd-add-FRU-number-for-Spyre-cards.patch
Normal file
@ -0,0 +1,22 @@
|
||||
commit 1d2dc3d83734ea7c669905993adcae386b1db91d
|
||||
Author: Sathvika Vasireddy <sv@linux.ibm.com>
|
||||
Date: Thu Dec 4 21:32:42 2025 +0530
|
||||
|
||||
lsvpd: Add FRU number for Spyre cards
|
||||
|
||||
Update setCustomVPDFields to print FRU number for Spyre devices.
|
||||
|
||||
Signed-off-by: Sathvika Vasireddy <sv@linux.ibm.com>
|
||||
|
||||
diff --git a/src/internal/sys_interface/sysfstreecollector.cpp b/src/internal/sys_interface/sysfstreecollector.cpp
|
||||
index 7af2fb7..f7e074a 100644
|
||||
--- a/src/internal/sys_interface/sysfstreecollector.cpp
|
||||
+++ b/src/internal/sys_interface/sysfstreecollector.cpp
|
||||
@@ -1731,6 +1731,7 @@ ERROR:
|
||||
case 0x101406A7:
|
||||
case 0x101406A8:
|
||||
fillMe->mFeatureCode.setValue("ECSE", 95, __FILE__, __LINE__);
|
||||
+ fillMe->mFRU.setValue("03PN188", 100, __FILE__, __LINE__);
|
||||
fillMe->addDeviceSpecific( "CC", "Customer Card ID Number", "2E1F", 95);
|
||||
break;
|
||||
case 0x15b31021: // Nvidia ConnectX-7 PF
|
||||
22
lsvpd.spec
22
lsvpd.spec
@ -1,11 +1,14 @@
|
||||
Name: lsvpd
|
||||
Version: 1.7.15
|
||||
Version: 1.7.17
|
||||
Release: 1%{?dist}
|
||||
Summary: VPD/hardware inventory utilities for Linux
|
||||
|
||||
License: GPLv2+
|
||||
URL: https://github.com/power-ras/%{name}/releases
|
||||
Source: https://github.com/power-ras/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||
# upstream patches
|
||||
# lsvpd: Enhance tools to print device information in tuple format
|
||||
Patch10: lsvpd-add-FRU-number-for-Spyre-cards.patch
|
||||
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: libvpd-devel >= 2.2.9
|
||||
@ -15,6 +18,8 @@ BuildRequires: automake
|
||||
BuildRequires: libtool
|
||||
BuildRequires: librtas-devel
|
||||
BuildRequires: make
|
||||
BuildRequires: systemd-rpm-macros
|
||||
Requires: systemd
|
||||
|
||||
Requires(post): %{_sbindir}/vpdupdate
|
||||
|
||||
@ -44,10 +49,20 @@ on POWER PC based systems.
|
||||
%make_install
|
||||
|
||||
%post
|
||||
# Post-install script for vpdupdate
|
||||
# Always enable the service
|
||||
systemctl -q enable vpdupdate.service >/dev/null 2>&1 || :
|
||||
systemctl daemon-reload >/dev/null 2>&1 || :
|
||||
|
||||
%{_sbindir}/vpdupdate &
|
||||
# Ignore the vpdupdate failures and enforce a success
|
||||
exit 0
|
||||
|
||||
%preun
|
||||
# Pre-uninstall script for vpdupdate
|
||||
systemctl -q disable vpdupdate.service >/dev/null 2>&1 || :
|
||||
systemctl daemon-reload >/dev/null 2>&1 || :
|
||||
|
||||
%files
|
||||
%{!?_licensedir:%global license %%doc}
|
||||
%license COPYING
|
||||
@ -66,8 +81,13 @@ exit 0
|
||||
%config %{_sysconfdir}/lsvpd/cpu_mod_conv.conf
|
||||
%config %{_sysconfdir}/lsvpd/nvme_templates.conf
|
||||
%dir %{_sysconfdir}/lsvpd
|
||||
%{_unitdir}/vpdupdate.service
|
||||
|
||||
%changelog
|
||||
* Tue Dec 09 2025 Than Ngo <than@redhat.com> - 1.7.17-1
|
||||
- Resolves: RHEL-115187, Enhance lsvpd to update VPD for Nvidia OTS Adapters
|
||||
- Resolves: RHEL-102476, Update to 1.7.17
|
||||
|
||||
* Fri Dec 08 2023 Than Ngo <than@redhat.com> - 1.7.15-1
|
||||
- Resolves: RRHEL-11475, update to 1.7.15
|
||||
|
||||
|
||||
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (lsvpd-1.7.15.tar.gz) = 5e70bf52fec7b7c6ede3dca2a0def9fa10ba36c4421a8b875928c7eb4036c24ad828d8381f233896aed36b8fdc014a38b05b000d883dc23d209f7bbd2b781305
|
||||
SHA512 (lsvpd-1.7.17.tar.gz) = 4f2ddc1e25a1f3b1b38e102d5fa8e12dffaea37fbfb405c77ac80f6a3ec38ab827a3b2f8f33a926d29347f7d4a144d4a65fb6f8c8aa7280854e99acfd133b9c2
|
||||
|
||||
Loading…
Reference in New Issue
Block a user