-
Notifications
You must be signed in to change notification settings - Fork 580
OOT Modules -> Add kernel version and release nb into release nb #13645
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
Changes from all commits
59dd74e
0018f24
b068676
22551ff
8590e18
efc579a
38f6d48
c40bbbc
6308ca8
c7eb2c6
5f8b597
7ca1484
dd0ebb4
271fccb
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,17 +35,19 @@ | |
%define __os_install_post %{__os_install_post_leave_signatures} %{nil} | ||
|
||
%global target_kernel_version_full %(/bin/rpm -q --queryformat '%{RPMTAG_VERSION}-%{RPMTAG_RELEASE}' $(/bin/rpm -q --whatprovides kernel-headers)) | ||
%global target_azurelinux_build_kernel_version %(/bin/rpm -q --queryformat '%{RPMTAG_VERSION}' $(/bin/rpm -q --whatprovides kernel-headers)) | ||
%global target_azl_build_kernel_version %(/bin/rpm -q --queryformat '%{RPMTAG_VERSION}' $(/bin/rpm -q --whatprovides kernel-headers)) | ||
%global target_kernel_release %(/bin/rpm -q --queryformat '%{RPMTAG_RELEASE}' $(/bin/rpm -q --whatprovides kernel-headers) | /bin/cut -d . -f 1) | ||
%global release_suffix _%{target_azl_build_kernel_version}.%{target_kernel_release} | ||
|
||
%global KVERSION %{target_kernel_version_full} | ||
|
||
%{!?_name: %define _name fwctl} | ||
%{!?_mofed_full_version: %define _mofed_full_version 24.10-17%{release_suffix}%{?dist}} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If the release number were to get incremented due to a change to the spec, this value would need to change too, correct? |
||
|
||
Summary: %{_name} Driver | ||
Name: %{_name}-signed | ||
Version: 24.10 | ||
Release: 19%{?dist} | ||
Release: 20%{release_suffix}%{?dist} | ||
License: GPLv2 | ||
Url: http://nvidia.com | ||
Group: System Environment/Base | ||
|
@@ -70,8 +72,8 @@ fwctl signed kernel modules | |
|
||
%package -n %{_name} | ||
Summary: %{summary} | ||
Requires: mlnx-ofa_kernel = %{version} | ||
Requires: mlnx-ofa_kernel-modules = %{version} | ||
Requires: mlnx-ofa_kernel = %{_mofed_full_version} | ||
Requires: mlnx-ofa_kernel-modules = %{_mofed_full_version} | ||
Requires: kernel = %{target_kernel_version_full} | ||
Requires: kmod | ||
|
||
|
@@ -117,6 +119,9 @@ fi # 1 : closed | |
|
||
|
||
%changelog | ||
* Thu May 29 2025 Nicolas Guibourge <nicolasg@microsoft.com> - 24.10-20 | ||
- Add kernel version and release nb into release nb | ||
|
||
* Fri May 23 2025 CBL-Mariner Servicing Account <cblmargh@microsoft.com> - 24.10-19 | ||
- Bump release to rebuild for new kernel release | ||
|
||
|
Uh oh!
There was an error while loading. Please reload this page.