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