Update kmod version to 29 (#1805)

* Update kmod version to 29

* Add license verified to change log

* Remove additional space in change log entry

* Fix linting issues

* Fix linting issues

* Fix linting issues
This commit is contained in:
chalamalasetty 2021-12-27 12:32:49 -08:00 committed by GitHub
parent 21fac3d7e3
commit 59909ad935
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 26 additions and 17 deletions

View File

@ -1,5 +1,5 @@
{
"Signatures": {
"kmod-25.tar.xz": "7165e6496656159dcb909a91ed708a0fe273a4b128b4b1dc997ccb5189eef1cd"
"kmod-29.tar.xz": "0b80eea7aa184ac6fd20cafa2a1fdf290ffecc70869a797079e2cc5c6225a52a"
}
}

View File

@ -1,29 +1,32 @@
Summary: Utilities for loading kernel modules
Name: kmod
Version: 25
Release: 6%{?dist}
License: LGPLv2.1+ and GPLv2+
URL: http://www.kernel.org/pub/linux/utils/kernel/kmod
Group: Applications/System
Version: 29
Release: 1%{?dist}
License: LGPLv2.1+ AND GPLv2+
Vendor: Microsoft Corporation
Distribution: Mariner
Group: Applications/System
URL: https://www.kernel.org/pub/linux/utils/kernel/kmod
Source0: http://www.kernel.org/pub/linux/utils/kernel/kmod/%{name}-%{version}.tar.xz
Provides: module-init-tools
Provides: /sbin/modprobe
BuildRequires: xz-devel
BuildRequires: zlib-devel
Requires: xz
Provides: module-init-tools
Provides: /sbin/modprobe
%description
The Kmod package contains libraries and utilities for loading kernel modules
%package devel
Summary: Header and development files for kmod
Requires: %{name} = %{version}-%{release}
%description devel
It contains the libraries and header files to create applications.
%prep
%setup -q
%build
./configure \
--prefix=%{_prefix} \
@ -35,16 +38,18 @@ It contains the libraries and header files to create applications.
--with-zlib \
--disable-silent-rules
make VERBOSE=1 %{?_smp_mflags}
%install
make DESTDIR=%{buildroot} pkgconfigdir=%{_libdir}/pkgconfig install
install -vdm 755 %{buildroot}/sbin
for target in depmod insmod lsmod modinfo modprobe rmmod; do
ln -sv /bin/kmod %{buildroot}/sbin/$target
done
find %{buildroot} -name '*.la' -delete
find %{buildroot} -type f -name "*.la" -delete -print
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%license COPYING
@ -61,6 +66,10 @@ find %{buildroot} -name '*.la' -delete
%{_libdir}/*.so
%changelog
* Mon Dec 27 2021 Suresh Babu Chalamalasetty <schalam@microsoft.com> - 29-1
- Updated to version 29
- Verified license.
* Fri Feb 05 2021 Joe Schmitt <joschmit@microsoft.com> - 25-6
- Replace incorrect %%{_lib} usage with %%{_libdir}

View File

@ -8641,8 +8641,8 @@
"type": "other",
"other": {
"name": "kmod",
"version": "25",
"downloadUrl": "http://www.kernel.org/pub/linux/utils/kernel/kmod/kmod-25.tar.xz"
"version": "29",
"downloadUrl": "http://www.kernel.org/pub/linux/utils/kernel/kmod/kmod-29.tar.xz"
}
}
},

View File

@ -131,9 +131,9 @@ itstool-2.0.6-4.cm2.noarch.rpm
kbd-2.2.0-1.cm2.aarch64.rpm
kbd-debuginfo-2.2.0-1.cm2.aarch64.rpm
kernel-headers-5.10.78.1-1.cm2.noarch.rpm
kmod-25-6.cm2.aarch64.rpm
kmod-debuginfo-25-6.cm2.aarch64.rpm
kmod-devel-25-6.cm2.aarch64.rpm
kmod-29-1.cm2.aarch64.rpm
kmod-debuginfo-29-1.cm2.aarch64.rpm
kmod-devel-29-1.cm2.aarch64.rpm
krb5-1.18-2.cm2.aarch64.rpm
krb5-debuginfo-1.18-2.cm2.aarch64.rpm
krb5-devel-1.18-2.cm2.aarch64.rpm

View File

@ -131,9 +131,9 @@ itstool-2.0.6-4.cm2.noarch.rpm
kbd-2.2.0-1.cm2.x86_64.rpm
kbd-debuginfo-2.2.0-1.cm2.x86_64.rpm
kernel-headers-5.10.78.1-1.cm2.noarch.rpm
kmod-25-6.cm2.x86_64.rpm
kmod-debuginfo-25-6.cm2.x86_64.rpm
kmod-devel-25-6.cm2.x86_64.rpm
kmod-29-1.cm2.x86_64.rpm
kmod-debuginfo-29-1.cm2.x86_64.rpm
kmod-devel-29-1.cm2.x86_64.rpm
krb5-1.18-2.cm2.x86_64.rpm
krb5-debuginfo-1.18-2.cm2.x86_64.rpm
krb5-devel-1.18-2.cm2.x86_64.rpm