update to 5.10.57 [release 5.10.57-1mamba;Mon Aug 09 2021]
This commit is contained in:
parent
26404768fc
commit
71fdd38739
38
kernel.spec
38
kernel.spec
@ -27,22 +27,33 @@
|
|||||||
%if "%{?KERNEL_TARGET}" == ""
|
%if "%{?KERNEL_TARGET}" == ""
|
||||||
%ifarch x86_64
|
%ifarch x86_64
|
||||||
%define KERNEL_TARGET mamba-x86_64
|
%define KERNEL_TARGET mamba-x86_64
|
||||||
%define localver_append -x86_64
|
|
||||||
%endif
|
%endif
|
||||||
%ifarch %{ix86}
|
%ifarch %{ix86}
|
||||||
%define KERNEL_TARGET mamba-64GB
|
%define KERNEL_TARGET mamba
|
||||||
%define localver_append -64GB
|
|
||||||
%endif
|
%endif
|
||||||
%ifarch arm
|
%ifarch arm
|
||||||
%define KERNEL_TARGET mamba-arm
|
%define KERNEL_TARGET mamba-arm
|
||||||
%define localver_append -arm
|
|
||||||
%endif
|
%endif
|
||||||
%ifarch aarch64
|
%ifarch aarch64
|
||||||
%define KERNEL_TARGET mamba-aarch64
|
%define KERNEL_TARGET mamba-aarch64
|
||||||
%define localver_append -aarch64
|
|
||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%ifarch x86_64
|
||||||
|
%define localver_append -x86_64
|
||||||
|
%endif
|
||||||
|
%ifarch %{ix86}
|
||||||
|
%if "%{?KERNEL_TARGET}" != "mamba"
|
||||||
|
%define localver_append -64GB
|
||||||
|
%endif
|
||||||
|
%endif
|
||||||
|
%ifarch arm
|
||||||
|
%define localver_append -arm
|
||||||
|
%endif
|
||||||
|
%ifarch aarch64
|
||||||
|
%define localver_append -aarch64
|
||||||
|
%endif
|
||||||
|
|
||||||
# define short kernel target name for Lilo
|
# define short kernel target name for Lilo
|
||||||
%define KERNEL_TARGET_SHORT %{KERNEL_TARGET}
|
%define KERNEL_TARGET_SHORT %{KERNEL_TARGET}
|
||||||
|
|
||||||
@ -88,7 +99,7 @@
|
|||||||
%define _use_internal_dependency_generator 1
|
%define _use_internal_dependency_generator 1
|
||||||
|
|
||||||
Name: kernel
|
Name: kernel
|
||||||
Version: 5.10.46
|
Version: 5.10.57
|
||||||
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
|
||||||
@ -109,7 +120,6 @@ URL: https://www.kernel.org/
|
|||||||
License: GPL
|
License: GPL
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
BuildRequires: libelf-devel
|
|
||||||
BuildRequires: libopenssl-devel
|
BuildRequires: libopenssl-devel
|
||||||
BuildRequires: libperl
|
BuildRequires: libperl
|
||||||
BuildRequires: libyaml-devel
|
BuildRequires: libyaml-devel
|
||||||
@ -268,7 +278,6 @@ cp $kernel_cfg ./.config
|
|||||||
echo "%{KERNEL_LOCALVER}" > localversion.20-pkgname
|
echo "%{KERNEL_LOCALVER}" > localversion.20-pkgname
|
||||||
|
|
||||||
%build
|
%build
|
||||||
#:<< ___EOF
|
|
||||||
#
|
#
|
||||||
# build kernel for given target
|
# build kernel for given target
|
||||||
#
|
#
|
||||||
@ -481,13 +490,13 @@ done
|
|||||||
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%{?localver_append}
|
ln -snf %{_prefix}/src/linux-%{kernel_ver}%{?KERNEL_LOCALVER} %{_prefix}/src/linux-mamba%{?localver_append}
|
||||||
fi
|
fi
|
||||||
:
|
:
|
||||||
|
|
||||||
%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%{?localver_append}
|
ln -snf %{_prefix}/src/linux-%{kernel_ver}%{?KERNEL_LOCALVER} %{_prefix}/src/linux-mamba%{?localver_append}
|
||||||
fi
|
fi
|
||||||
:
|
:
|
||||||
|
|
||||||
@ -581,6 +590,15 @@ fi
|
|||||||
/lib/modules/%{kernel_ver}%{?KERNEL_LOCALVER}/build
|
/lib/modules/%{kernel_ver}%{?KERNEL_LOCALVER}/build
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Aug 09 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 5.10.57-1mamba
|
||||||
|
- update to 5.10.57
|
||||||
|
|
||||||
|
* Sun Aug 08 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 5.10.56-2mamba
|
||||||
|
- fix for appended local version
|
||||||
|
|
||||||
|
* Sat Aug 07 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 5.10.56-1mamba
|
||||||
|
- update to 5.10.56
|
||||||
|
|
||||||
* Thu Jun 24 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 5.10.46-1mamba
|
* Thu Jun 24 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 5.10.46-1mamba
|
||||||
- update to 5.10.46
|
- update to 5.10.46
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user