|
|
|
@ -24,7 +24,8 @@
|
|
|
|
|
%global _binary_payload w3T.xzdio
|
|
|
|
|
|
|
|
|
|
# Define the version of the Linux Kernel Archive tarball.
|
|
|
|
|
%global LKAver 6.1.104
|
|
|
|
|
%global LKAver 6.1.111
|
|
|
|
|
%global lvc lvc4
|
|
|
|
|
|
|
|
|
|
# Define the buildid, if required.
|
|
|
|
|
#global buildid .local
|
|
|
|
@ -38,7 +39,7 @@
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
# Set pkg_release.
|
|
|
|
|
%global pkg_release 1%{?buildid}%{?dist}.inferit
|
|
|
|
|
%global pkg_release 4%{?buildid}.%{?lvc}%{?dist}.inferit
|
|
|
|
|
|
|
|
|
|
# Architectures upon which we can sign the kernel
|
|
|
|
|
# for secure boot authentication.
|
|
|
|
@ -119,8 +120,6 @@
|
|
|
|
|
|
|
|
|
|
%ifarch x86_64 || aarch64
|
|
|
|
|
%define with_doc 0
|
|
|
|
|
# temporary fix to resolve build error in linux-6.1.103
|
|
|
|
|
%define with_bpftool 0
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%ifarch x86_64
|
|
|
|
@ -153,7 +152,7 @@
|
|
|
|
|
%define kernel_lt_prereq coreutils, systemd >= 203-2, /usr/bin/kernel-install
|
|
|
|
|
%define initrd_prereq dracut >= 027
|
|
|
|
|
|
|
|
|
|
Name: kernel-lt
|
|
|
|
|
Name: kernel
|
|
|
|
|
Summary: The Linux kernel. (The core of any Linux kernel based operating system.)
|
|
|
|
|
License: GPLv2 and Redistributable, no modification permitted.
|
|
|
|
|
URL: https://www.kernel.org/
|
|
|
|
@ -218,7 +217,7 @@ BuildConflicts: rhbuildsys(DiskFree) < 500Mb
|
|
|
|
|
###
|
|
|
|
|
### Sources
|
|
|
|
|
###
|
|
|
|
|
Source0: https://www.kernel.org/pub/linux/kernel/v6.x/linux-%{LKAver}.tar.xz
|
|
|
|
|
Source0: https://git.linuxtesting.ru/pub/scm/linux/kernel/git/lvc/linux-stable.git/snapshot/linux-stable-%{LKAver}-%{lvc}.tar.gz
|
|
|
|
|
|
|
|
|
|
Source2: config-%{version}-x86_64
|
|
|
|
|
Source4: config-%{version}-aarch64
|
|
|
|
@ -390,7 +389,6 @@ Provides: kernel-devel-%{_target_cpu} = %{version}-%{release}%{?1:+%{1}}\
|
|
|
|
|
Provides: kernel-devel-uname-r = %{KVERREL}%{?1:+%{1}}\
|
|
|
|
|
Provides: kernel-devel = %{version}-%{release}%{?1:+%{1}}\
|
|
|
|
|
Provides: installonlypkg(kernel)\
|
|
|
|
|
Provides: installonlypkg(kernel-lt)\
|
|
|
|
|
AutoReqProv: no\
|
|
|
|
|
Requires(pre): findutils\
|
|
|
|
|
Requires: findutils\
|
|
|
|
@ -434,7 +432,6 @@ Provides: %{name}%{?1:-%{1}}-modules-extra-%{_target_cpu} = %{version}-%{release
|
|
|
|
|
Provides: %{name}%{?1:-%{1}}-modules-extra-%{_target_cpu} = %{version}-%{release}%{?1:+%{1}}\
|
|
|
|
|
Provides: %{name}%{?1:-%{1}}-modules-extra = %{version}-%{release}%{?1:+%{1}}\
|
|
|
|
|
Provides: installonlypkg(kernel-module)\
|
|
|
|
|
Provides: installonlypkg(kernel-lt-module)\
|
|
|
|
|
Provides: %{name}%{?1:-%{1}}-modules-extra-uname-r = %{KVERREL}%{?1:+%{1}}\
|
|
|
|
|
Requires: %{name}-uname-r = %{KVERREL}%{?1:+%{1}}\
|
|
|
|
|
Requires: %{name}%{?1:-%{1}}-modules-uname-r = %{KVERREL}%{?1:+%{1}}\
|
|
|
|
@ -458,7 +455,6 @@ Provides: %{name}%{?1:-%{1}}-modules-%{_target_cpu} = %{version}-%{release}\
|
|
|
|
|
Provides: %{name}-modules-%{_target_cpu} = %{version}-%{release}%{?1:+%{1}}\
|
|
|
|
|
Provides: %{name}-modules = %{version}-%{release}%{?1:+%{1}}\
|
|
|
|
|
Provides: installonlypkg(kernel-module)\
|
|
|
|
|
Provides: installonlypkg(kernel-lt-module)\
|
|
|
|
|
Provides: %{name}%{?1:-%{1}}-modules-uname-r = %{KVERREL}%{?1:+%{1}}\
|
|
|
|
|
Requires: %{name}-uname-r = %{KVERREL}%{?1:+%{1}}\
|
|
|
|
|
%if %{-m:1}%{!-m:0}\
|
|
|
|
@ -480,7 +476,6 @@ Summary: %{name} meta-package for the %{1} ${name}.\
|
|
|
|
|
Requires: %{name}-%{1}-core-uname-r = %{KVERREL}+%{1}\
|
|
|
|
|
Requires: %{name}-%{1}-modules-uname-r = %{KVERREL}+%{1}\
|
|
|
|
|
Provides: installonlypkg(kernel)\
|
|
|
|
|
Provides: installonlypkg(kernel-lt)\
|
|
|
|
|
%description %{1}\
|
|
|
|
|
The meta-package for the %{1} %{name}.\
|
|
|
|
|
%{nil}
|
|
|
|
@ -495,7 +490,6 @@ The meta-package for the %{1} %{name}.\
|
|
|
|
|
Summary: %{variant_summary}.\
|
|
|
|
|
Provides: %{name}-%{?1:%{1}-}core-uname-r = %{KVERREL}%{?1:+%{1}}\
|
|
|
|
|
Provides: installonlypkg(kernel)\
|
|
|
|
|
Provides: installonlypkg(kernel-lt)\
|
|
|
|
|
%if %{-m:1}%{!-m:0}\
|
|
|
|
|
Requires: %{name}-core-uname-r = %{KVERREL}\
|
|
|
|
|
%endif\
|
|
|
|
@ -539,10 +533,10 @@ exit 1
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%setup -q -n %{name}-%{version} -c
|
|
|
|
|
mv linux-%{LKAver} linux-%{KVERREL}
|
|
|
|
|
mv linux-stable-%{LKAver}-%{lvc} linux-%{KVERREL}
|
|
|
|
|
|
|
|
|
|
pushd linux-%{KVERREL} > /dev/null
|
|
|
|
|
%patch0 -p1
|
|
|
|
|
%patch -P0 -p1
|
|
|
|
|
|
|
|
|
|
# Purge the source tree of all unrequired dot-files.
|
|
|
|
|
find . -name '.*' -type f -delete
|
|
|
|
@ -1487,6 +1481,18 @@ fi
|
|
|
|
|
%kernel_lt_variant_files %{_use_vdso} %{with_std}
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed Oct 9 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 6.1.111-4.lvc4.inferit
|
|
|
|
|
- Enable CONFIG_GCC_PLUGIN_STACKLEAK
|
|
|
|
|
|
|
|
|
|
* Tue Oct 8 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 6.1.111-3.lvc4.inferit
|
|
|
|
|
- Build with bpftool
|
|
|
|
|
|
|
|
|
|
* Tue Oct 8 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 6.1.111-2.lvc4.inferit
|
|
|
|
|
- Bump release
|
|
|
|
|
|
|
|
|
|
* Mon Oct 7 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 6.1.111-1.lvc4.inferit
|
|
|
|
|
- Build ISP SAR kernel
|
|
|
|
|
|
|
|
|
|
* Mon Aug 12 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 6.1.104-1.inferit
|
|
|
|
|
- Update to 6.1.104
|
|
|
|
|
|