update to 5.10.46 [release 5.10.46-1mamba;Thu Jun 24 2021]

This commit is contained in:
Silvan Calarco 2024-01-06 01:25:20 +01:00
parent baee6bd54c
commit 26404768fc

View File

@ -88,7 +88,7 @@
%define _use_internal_dependency_generator 1
Name: kernel
Version: 5.10.35
Version: 5.10.46
Release: 1mamba
Summary: The Linux Kernel, the operating system core itself
Group: System/Kernel and Hardware
@ -105,7 +105,7 @@ Patch11: kernel-3.2.1-8139cp.patch
Patch24: kernel-2.6.35-usbstorage-disable_delay_use.patch
Patch39: kernel-3.2.1-rtl8139too.patch
Patch59: %{name}-2.6.35-vga_dont_ask.patch
URL: http://www.kernel.org
URL: https://www.kernel.org/
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
@ -422,7 +422,7 @@ if [ $1 -eq 0 ]; then
[ -f /boot/%{KIMAGE_DEST}-%{kernel_ver}%{?KERNEL_LOCALVER} ] ||
rm -f /boot/initramfs-%{kernel_ver}%{?KERNEL_LOCALVER}.img
fi
exit 0
:
%posttrans %{?KERNEL_TARGET}
# clean our orphan old initramfs
@ -474,25 +474,22 @@ done
grub-set-default 0
fi
%endif
%if "%{_target_cpu}" == "ppc"
/usr/sbin/ybin
%endif
exit 0
:
%post %{KERNEL_TARGET}-headers
# touch file so it results up-to-date on make
if [ $1 -ge 1 ]; then
touch %{_prefix}/src/linux-%{kernel_ver}%{?KERNEL_LOCALVER}/include/config/MARKER
[ -x /usr/sbin/dkms ] && dkms autoinstall -q --kernelver %{kernel_ver}%{?KERNEL_LOCALVER} || true
ln -snf %{_prefix}/src/linux-%{kernel_ver}%{?KERNEL_LOCALVER} %{_prefix}/src/linux-%{?KERNEL_LOCALVER}
ln -snf %{_prefix}/src/linux-%{kernel_ver}%{?KERNEL_LOCALVER} %{_prefix}/src/linux%{?localver_append}
fi
exit 0
:
%post %{KERNEL_TARGET}-headers-sanitised
if [ $1 -ge 1 ]; then
ln -snf %{_prefix}/src/linux-%{kernel_ver}%{?KERNEL_LOCALVER} %{_prefix}/src/linux-%{?KERNEL_LOCALVER}
ln -snf %{_prefix}/src/linux-%{kernel_ver}%{?KERNEL_LOCALVER} %{_prefix}/src/linux%{?localver_append}
fi
exit 0
:
%files %{?KERNEL_TARGET}
%defattr (-, root, root)
@ -547,10 +544,12 @@ exit 0
%files %{KERNEL_TARGET}-headers-sanitised
%defattr(-,root,root)
%dir /usr/src/linux-%{kernel_ver}%{?KERNEL_LOCALVER}
/usr/src/linux-%{kernel_ver}%{?KERNEL_LOCALVER}/usr/include
%files %{KERNEL_TARGET}-headers
%defattr(-,root,root)
%dir /usr/src/linux-%{kernel_ver}%{?KERNEL_LOCALVER}
/usr/src/linux-%{kernel_ver}%{?KERNEL_LOCALVER}/localversion.20-pkgname
/usr/src/linux-%{kernel_ver}%{?KERNEL_LOCALVER}/Documentation
/usr/src/linux-%{kernel_ver}%{?KERNEL_LOCALVER}/Makefile
@ -582,6 +581,9 @@ exit 0
/lib/modules/%{kernel_ver}%{?KERNEL_LOCALVER}/build
%changelog
* Thu Jun 24 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 5.10.46-1mamba
- update to 5.10.46
* Sun May 09 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 5.10.35-1mamba
- update to 5.10.35
- config: enabled CONFIG_TASK_XACCT and CONFIG_TASK_IO_ACCOUNTING for iotop