-
Notifications
You must be signed in to change notification settings - Fork 596
Removed duplicate user space packages from OOT kmod specs #14860
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: 3.0-dev
Are you sure you want to change the base?
Conversation
✅ PR Check PassedNo critical issues detected in spec file changes. 🤖 AI Analysis Summary:Brief Analysis: The changes primarily update the MOFED version (from 24.10-22 to 24.10-23) and adjust package dependencies and release numbers in multiple spec files, including fwctl-hwe-signed.spec. There are no explicit CVE patch directives referenced in this file. Critical Issues Found: Recommended Actions: 📋 For detailed analysis and recommendations, check the Azure DevOps pipeline logs. |
%config(noreplace) %{_sysconfdir}/depmod.d/zz02-fwctl-*.conf | ||
|
||
%changelog | ||
* Fri Oct 10 2025 Pawel Winogrodzki <[email protected]> - 24.10-23 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the changelog number should include the release_suffix - 24.10-23_6.12.50.2-1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same comment goes for a few other packages below. The most recent changelog comments have this as well (at least since the hwe- variant of these SPECs were created)
|
||
/bin/rm -rf %{buildroot}/opt/knem-%{version}/lib/modules || true | ||
/bin/rm -rf %{buildroot}/opt/knem-%{version} | ||
/bin/rm -rf %{buildroot}//etc/udev/rules.d |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
duplicate /
after buildroot?
%global kernel_source() %{K_SRC} | ||
%global kernel_release() %{KVERSION} | ||
%global flavors_to_build default | ||
%ifarch x86_64 # We create the module package only for the x86_64 kernel |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe comments on lines with %ifarch
cause warnings during the builds, so might be best to put them on the preceding line. (I realize this issue already exists in many of these specs, so this is just a suggestion)
Merge Checklist
All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)
*-static
subpackages, etc.) have had theirRelease
tag incremented../cgmanifest.json
,./toolkit/scripts/toolchain/cgmanifest.json
,.github/workflows/cgmanifest.json
)./SPECS/LICENSES-AND-NOTICES/data/licenses.json
,./SPECS/LICENSES-AND-NOTICES/LICENSES-MAP.md
,./SPECS/LICENSES-AND-NOTICES/LICENSE-EXCEPTIONS.PHOTON
)*.signatures.json
filessudo make go-tidy-all
andsudo make go-test-coverage
passSummary
Overview
Some of our specs building OOT kmods for
kernel-hwe
defined packages with user space components, which were duplicates of already existing ones from specs building OOT kmods forkernel
along with the user space components. Since they are dependent on a kernel flavour, as long as they build against the lowest version of kernel in our repository (kernel
), they are guaranteed to work on newer versions and flavours due to kernel's guarantees to keep user space APIs backwards compatible.The duplicates were removed to:
Changes details
mlnx-ofa_kernel
for a genericRequires: mlnx-ofa_kernel
.mlnx-ofa_kernel
is a user-space package and is thus not tied to any specific kernel version of flavour.BuildRequires: mlnx-ofa_kernel-hwe-source
- OOT kmod specs having their kmods dependent on the one frommlnx-ofa_kernel-modules
need themlnx-ofa_kernel(-<flavour>)-devel
for the same version and flavour of the kernel as they are built but not the original sources. Also, thedevel
subpackage already contains the required sources.*-hwe
specs.service
subpackage from the OOT kmod subpackages inmlnx-ofa_kernel.spec
, since the service components are living in user space and are not tied to a specific version or flavour of the kernel.mlnx-ofa_kernel
build user space components for both supported architectures.Does this affect the toolchain?
No.
Test Methodology