|
|
@ -24,7 +24,8 @@
|
|
|
|
%global _binary_payload w3T.xzdio
|
|
|
|
%global _binary_payload w3T.xzdio
|
|
|
|
|
|
|
|
|
|
|
|
# Define the version of the Linux Kernel Archive tarball.
|
|
|
|
# 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.
|
|
|
|
# Define the buildid, if required.
|
|
|
|
#global buildid .local
|
|
|
|
#global buildid .local
|
|
|
@ -38,7 +39,7 @@
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
# Set pkg_release.
|
|
|
|
# Set pkg_release.
|
|
|
|
%global pkg_release 1%{?buildid}%{?dist}.inferit
|
|
|
|
%global pkg_release 8%{?buildid}.%{?lvc}%{?dist}.inferit.fuzzing
|
|
|
|
|
|
|
|
|
|
|
|
# Architectures upon which we can sign the kernel
|
|
|
|
# Architectures upon which we can sign the kernel
|
|
|
|
# for secure boot authentication.
|
|
|
|
# for secure boot authentication.
|
|
|
@ -119,8 +120,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
%ifarch x86_64 || aarch64
|
|
|
|
%ifarch x86_64 || aarch64
|
|
|
|
%define with_doc 0
|
|
|
|
%define with_doc 0
|
|
|
|
# temporary fix to resolve build error in linux-6.1.103
|
|
|
|
|
|
|
|
%define with_bpftool 0
|
|
|
|
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%ifarch x86_64
|
|
|
|
%ifarch x86_64
|
|
|
@ -153,7 +152,7 @@
|
|
|
|
%define kernel_lt_prereq coreutils, systemd >= 203-2, /usr/bin/kernel-install
|
|
|
|
%define kernel_lt_prereq coreutils, systemd >= 203-2, /usr/bin/kernel-install
|
|
|
|
%define initrd_prereq dracut >= 027
|
|
|
|
%define initrd_prereq dracut >= 027
|
|
|
|
|
|
|
|
|
|
|
|
Name: kernel-lt
|
|
|
|
Name: kernel
|
|
|
|
Summary: The Linux kernel. (The core of any Linux kernel based operating system.)
|
|
|
|
Summary: The Linux kernel. (The core of any Linux kernel based operating system.)
|
|
|
|
License: GPLv2 and Redistributable, no modification permitted.
|
|
|
|
License: GPLv2 and Redistributable, no modification permitted.
|
|
|
|
URL: https://www.kernel.org/
|
|
|
|
URL: https://www.kernel.org/
|
|
|
@ -218,7 +217,7 @@ BuildConflicts: rhbuildsys(DiskFree) < 500Mb
|
|
|
|
###
|
|
|
|
###
|
|
|
|
### Sources
|
|
|
|
### 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
|
|
|
|
Source2: config-%{version}-x86_64
|
|
|
|
Source4: config-%{version}-aarch64
|
|
|
|
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-uname-r = %{KVERREL}%{?1:+%{1}}\
|
|
|
|
Provides: kernel-devel = %{version}-%{release}%{?1:+%{1}}\
|
|
|
|
Provides: kernel-devel = %{version}-%{release}%{?1:+%{1}}\
|
|
|
|
Provides: installonlypkg(kernel)\
|
|
|
|
Provides: installonlypkg(kernel)\
|
|
|
|
Provides: installonlypkg(kernel-lt)\
|
|
|
|
|
|
|
|
AutoReqProv: no\
|
|
|
|
AutoReqProv: no\
|
|
|
|
Requires(pre): findutils\
|
|
|
|
Requires(pre): findutils\
|
|
|
|
Requires: 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-%{_target_cpu} = %{version}-%{release}%{?1:+%{1}}\
|
|
|
|
Provides: %{name}%{?1:-%{1}}-modules-extra = %{version}-%{release}%{?1:+%{1}}\
|
|
|
|
Provides: %{name}%{?1:-%{1}}-modules-extra = %{version}-%{release}%{?1:+%{1}}\
|
|
|
|
Provides: installonlypkg(kernel-module)\
|
|
|
|
Provides: installonlypkg(kernel-module)\
|
|
|
|
Provides: installonlypkg(kernel-lt-module)\
|
|
|
|
|
|
|
|
Provides: %{name}%{?1:-%{1}}-modules-extra-uname-r = %{KVERREL}%{?1:+%{1}}\
|
|
|
|
Provides: %{name}%{?1:-%{1}}-modules-extra-uname-r = %{KVERREL}%{?1:+%{1}}\
|
|
|
|
Requires: %{name}-uname-r = %{KVERREL}%{?1:+%{1}}\
|
|
|
|
Requires: %{name}-uname-r = %{KVERREL}%{?1:+%{1}}\
|
|
|
|
Requires: %{name}%{?1:-%{1}}-modules-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-%{_target_cpu} = %{version}-%{release}%{?1:+%{1}}\
|
|
|
|
Provides: %{name}-modules = %{version}-%{release}%{?1:+%{1}}\
|
|
|
|
Provides: %{name}-modules = %{version}-%{release}%{?1:+%{1}}\
|
|
|
|
Provides: installonlypkg(kernel-module)\
|
|
|
|
Provides: installonlypkg(kernel-module)\
|
|
|
|
Provides: installonlypkg(kernel-lt-module)\
|
|
|
|
|
|
|
|
Provides: %{name}%{?1:-%{1}}-modules-uname-r = %{KVERREL}%{?1:+%{1}}\
|
|
|
|
Provides: %{name}%{?1:-%{1}}-modules-uname-r = %{KVERREL}%{?1:+%{1}}\
|
|
|
|
Requires: %{name}-uname-r = %{KVERREL}%{?1:+%{1}}\
|
|
|
|
Requires: %{name}-uname-r = %{KVERREL}%{?1:+%{1}}\
|
|
|
|
%if %{-m:1}%{!-m:0}\
|
|
|
|
%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}-core-uname-r = %{KVERREL}+%{1}\
|
|
|
|
Requires: %{name}-%{1}-modules-uname-r = %{KVERREL}+%{1}\
|
|
|
|
Requires: %{name}-%{1}-modules-uname-r = %{KVERREL}+%{1}\
|
|
|
|
Provides: installonlypkg(kernel)\
|
|
|
|
Provides: installonlypkg(kernel)\
|
|
|
|
Provides: installonlypkg(kernel-lt)\
|
|
|
|
|
|
|
|
%description %{1}\
|
|
|
|
%description %{1}\
|
|
|
|
The meta-package for the %{1} %{name}.\
|
|
|
|
The meta-package for the %{1} %{name}.\
|
|
|
|
%{nil}
|
|
|
|
%{nil}
|
|
|
@ -495,7 +490,6 @@ The meta-package for the %{1} %{name}.\
|
|
|
|
Summary: %{variant_summary}.\
|
|
|
|
Summary: %{variant_summary}.\
|
|
|
|
Provides: %{name}-%{?1:%{1}-}core-uname-r = %{KVERREL}%{?1:+%{1}}\
|
|
|
|
Provides: %{name}-%{?1:%{1}-}core-uname-r = %{KVERREL}%{?1:+%{1}}\
|
|
|
|
Provides: installonlypkg(kernel)\
|
|
|
|
Provides: installonlypkg(kernel)\
|
|
|
|
Provides: installonlypkg(kernel-lt)\
|
|
|
|
|
|
|
|
%if %{-m:1}%{!-m:0}\
|
|
|
|
%if %{-m:1}%{!-m:0}\
|
|
|
|
Requires: %{name}-core-uname-r = %{KVERREL}\
|
|
|
|
Requires: %{name}-core-uname-r = %{KVERREL}\
|
|
|
|
%endif\
|
|
|
|
%endif\
|
|
|
@ -539,10 +533,10 @@ exit 1
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%setup -q -n %{name}-%{version} -c
|
|
|
|
%setup -q -n %{name}-%{version} -c
|
|
|
|
mv linux-%{LKAver} linux-%{KVERREL}
|
|
|
|
mv linux-stable-%{LKAver}-%{lvc} linux-%{KVERREL}
|
|
|
|
|
|
|
|
|
|
|
|
pushd linux-%{KVERREL} > /dev/null
|
|
|
|
pushd linux-%{KVERREL} > /dev/null
|
|
|
|
%patch0 -p1
|
|
|
|
%patch -P0 -p1
|
|
|
|
|
|
|
|
|
|
|
|
# Purge the source tree of all unrequired dot-files.
|
|
|
|
# Purge the source tree of all unrequired dot-files.
|
|
|
|
find . -name '.*' -type f -delete
|
|
|
|
find . -name '.*' -type f -delete
|
|
|
@ -710,7 +704,7 @@ popd > /dev/null
|
|
|
|
%define __modsign_install_post \
|
|
|
|
%define __modsign_install_post \
|
|
|
|
if [ "%{signmodules}" -eq "1" ]; then \
|
|
|
|
if [ "%{signmodules}" -eq "1" ]; then \
|
|
|
|
if [ "%{with_std}" -ne "0" ]; then \
|
|
|
|
if [ "%{with_std}" -ne "0" ]; then \
|
|
|
|
%{SOURCE21} linux-%{version}-%{release}.x86_64/certs/signing_key.pem.sign linux-%{version}-%{release}.x86_64/certs/signing_key.x509.sign $RPM_BUILD_ROOT/lib/modules/%{KVERREL}/ \
|
|
|
|
%{SOURCE21} linux-%{version}-%{release}.%{_build_arch}/certs/signing_key.pem.sign linux-%{version}-%{release}.%{_build_arch}/certs/signing_key.x509.sign $RPM_BUILD_ROOT/lib/modules/%{KVERREL}/ \
|
|
|
|
fi \
|
|
|
|
fi \
|
|
|
|
fi \
|
|
|
|
fi \
|
|
|
|
if [ "%{zipmodules}" -eq "1" ]; then \
|
|
|
|
if [ "%{zipmodules}" -eq "1" ]; then \
|
|
|
@ -1487,6 +1481,40 @@ fi
|
|
|
|
%kernel_lt_variant_files %{_use_vdso} %{with_std}
|
|
|
|
%kernel_lt_variant_files %{_use_vdso} %{with_std}
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Fri Dec 6 2024 Eduard Basov <ebasov@msvsphere-os.ru> - 6.1.111-8.lvc4.inferit.fuzzing
|
|
|
|
|
|
|
|
- Fix broken options
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Dec 6 2024 Eduard Basov <ebasov@msvsphere-os.ru> - 6.1.111-7.lvc4.inferit.fuzzing
|
|
|
|
|
|
|
|
- KASAN is disabled
|
|
|
|
|
|
|
|
KMSAN is enabled
|
|
|
|
|
|
|
|
KMEMLEAK is disabled
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Dec 6 2024 Eduard Basov <ebasov@msvsphere-os.ru> - 6.1.111-6.lvc4.inferit.fuzzing
|
|
|
|
|
|
|
|
- KASAN is disabled
|
|
|
|
|
|
|
|
KMSAN is disabled
|
|
|
|
|
|
|
|
KMEMLEAK is enabled
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Dec 6 2024 Eduard Basov <ebasov@msvsphere-os.ru> - 6.1.111-5.lvc4.inferit.fuzzing
|
|
|
|
|
|
|
|
- KASAN is enabled
|
|
|
|
|
|
|
|
KMSAN is disabled
|
|
|
|
|
|
|
|
KMEMLEAK is disabled
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Nov 19 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 6.1.111-4.lvc4.inferit.fuzzing
|
|
|
|
|
|
|
|
- Enable fuzzing iptions:
|
|
|
|
|
|
|
|
https://github.com/google/syzkaller/blob/master/docs/linux/kernel_configs.md
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* 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
|
|
|
|
* Mon Aug 12 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 6.1.104-1.inferit
|
|
|
|
- Update to 6.1.104
|
|
|
|
- Update to 6.1.104
|
|
|
|
|
|
|
|
|