|
@@ -39,10 +39,11 @@
|
|
|
# that the kernel isn't the stock distribution kernel, for example by
|
|
|
# adding some text to the end of the version number.
|
|
|
#
|
|
|
-%define sublevel 10
|
|
|
-%define patchlevel 158
|
|
|
-%define kversion 5.%{sublevel}
|
|
|
-%define rpmversion 5.%{sublevel}.%{patchlevel}
|
|
|
+%define majorver 6
|
|
|
+%define sublevel 1
|
|
|
+%define patchlevel 30
|
|
|
+%define kversion %{majorver}.%{sublevel}
|
|
|
+%define rpmversion %{majorver}.%{sublevel}.%{patchlevel}
|
|
|
%define release 1%{?_dist_release}%{?with_systemd:.systemd}
|
|
|
|
|
|
%define make_target bzImage
|
|
@@ -236,7 +237,7 @@ BuildRequires: libcap-devel
|
|
|
BuildRequires: zlib-devel binutils-devel
|
|
|
BuildRequires: glibc-static
|
|
|
|
|
|
-Source0: https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-%{kversion}.tar.xz
|
|
|
+Source0: https://cdn.kernel.org/pub/linux/kernel/v%{majorver}.x/linux-%{kversion}.tar.xz
|
|
|
Source10: COPYING.modules
|
|
|
Source11: genkey
|
|
|
Source21: kernel-%{kversion}-i686.config
|
|
@@ -255,8 +256,7 @@ Source100: logo_vine_clut224.ppm
|
|
|
# Patches 0 through 100 are meant for core subsystem upgrades
|
|
|
#
|
|
|
%if %{patchlevel}
|
|
|
-Patch1: https://mirrors.edge.kernel.org/pub/linux/kernel/v5.x/patch-%{kversion}.%{patchlevel}.xz
|
|
|
-# Patch2: patch-4.14.14-rc1.xz
|
|
|
+Patch1: https://mirrors.edge.kernel.org/pub/linux/kernel/v%{majorver}.x/patch-%{kversion}.%{patchlevel}.xz
|
|
|
%endif
|
|
|
|
|
|
# Misc bits.
|
|
@@ -267,9 +267,6 @@ Patch1890: linux-2.6.35-mmc-sdhci-update.patch
|
|
|
|
|
|
Patch1900: linux-2.6.35-quirk-lenovo-itpm.patch
|
|
|
|
|
|
-# IDE
|
|
|
-Patch2010: linux-3.2-ide-piix-prefer-ata_piix.patch
|
|
|
-
|
|
|
# SCSI
|
|
|
Patch2301: linux-2.6.23-VMWare5-fix-LSI_emulation.patch
|
|
|
|
|
@@ -281,13 +278,6 @@ Patch2301: linux-2.6.23-VMWare5-fix-LSI_emulation.patch
|
|
|
Patch10000: linux-5.10-LINUX_COMPILER-LANG_C.patch
|
|
|
Patch10010: linux-5.4_tmon_Makefile.patch
|
|
|
|
|
|
-# https://github.com/gregkh/linux/commit/a45b3d6926231c3d024ea0de4f7bd967f83709ee
|
|
|
-Patch10020: libbfd1.patch
|
|
|
-# https://github.com/gregkh/linux/commit/600b7b26c07a070d0153daa76b3806c1e52c9e00
|
|
|
-Patch10021: libbfd2.patch
|
|
|
-# https://github.com/gregkh/linux/commit/cfd59ca91467056bb2c36907b2fa67b8e1af9952
|
|
|
-Patch10022: libbfd3.patch
|
|
|
-
|
|
|
# Security fix patches
|
|
|
|
|
|
# END OF PATCH DEFINITIONS
|
|
@@ -547,10 +537,6 @@ cd linux-%{kversion}
|
|
|
#
|
|
|
%patch1770 -p1
|
|
|
|
|
|
-# IDE
|
|
|
-# prefer ata_piix driver on ICH4+ chipset instead of IDE/piix
|
|
|
-%patch2010 -p1
|
|
|
-
|
|
|
# 3w-9xxx update (2.26.02.008)
|
|
|
%patch2301 -p1
|
|
|
|
|
@@ -563,14 +549,8 @@ cd linux-%{kversion}
|
|
|
|
|
|
%patch10010 -p1
|
|
|
|
|
|
-# for binutils-2.39
|
|
|
-%patch10020 -p1
|
|
|
-%patch10021 -p1
|
|
|
-%patch10022 -p1
|
|
|
-
|
|
|
# security fix
|
|
|
|
|
|
-
|
|
|
#
|
|
|
# misc small stuff to make things compile or otherwise improve performance
|
|
|
#
|
|
@@ -661,7 +641,7 @@ BuildKernel() {
|
|
|
echo NO NEW CONFIG OPTION FOUND.
|
|
|
fi
|
|
|
rm -f .newoptions
|
|
|
-
|
|
|
+
|
|
|
make -s ARCH=$Arch olddefconfig > /dev/null
|
|
|
# This ensures build-ids are unique to allow parallel debuginfo
|
|
|
perl -p -i -e "s/^CONFIG_BUILD_SALT.*/CONFIG_BUILD_SALT=\"%{KVERREL}${KVERREL_SUFFIX}\"/" .config
|
|
@@ -1151,6 +1131,7 @@ fi
|
|
|
%defattr(-,root,root)
|
|
|
%dir %{_prefix}/src/linux-%{kversion}
|
|
|
%{_prefix}/src/linux-%{kversion}/*
|
|
|
+%{_prefix}/src/linux-%{kversion}/.rustfmt.toml
|
|
|
%endif
|
|
|
|
|
|
# only some architecture builds need kernel-doc
|
|
@@ -1206,6 +1187,56 @@ fi
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
+* Thu May 25 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 6.1.30-1
|
|
|
+- updated to 6.1.30.
|
|
|
+
|
|
|
+* Fri May 12 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 6.1.28-1
|
|
|
+- updated to 6.1.28.
|
|
|
+
|
|
|
+* Wed Apr 26 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 6.1.26-1
|
|
|
+- updated to 6.1.26.
|
|
|
+
|
|
|
+* Fri Apr 14 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 6.1.24-1
|
|
|
+- updated to 6.1.24.
|
|
|
+
|
|
|
+* Thu Mar 30 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 6.1.22-1
|
|
|
+- updated to 6.1.22.
|
|
|
+
|
|
|
+* Fri Mar 17 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 6.1.20-1
|
|
|
+- updated to 6.1.20.
|
|
|
+
|
|
|
+* Sun Mar 12 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 6.1.18-1
|
|
|
+- updated to 6.1.18.
|
|
|
+
|
|
|
+* Sat Mar 11 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 6.1.17-1
|
|
|
+- updated to 6.1.17.
|
|
|
+
|
|
|
+* Fri Mar 10 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 6.1.16-1
|
|
|
+- updated to 6.1.16.
|
|
|
+
|
|
|
+* Sat Feb 25 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 6.1.14-1
|
|
|
+- updated to 6.1.14.
|
|
|
+
|
|
|
+* Mon Feb 20 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 6.1.12-1
|
|
|
+- updated to 6.1.12.
|
|
|
+- dropped Patch210: legacy IDE is dropped in upstream.
|
|
|
+- dropped Patch10020-10022: fixed in upstream.
|
|
|
+
|
|
|
+* Thu Feb 16 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.10.168-1
|
|
|
+- updated to 5.10.166.
|
|
|
+
|
|
|
+* Wed Feb 01 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.10.166-1
|
|
|
+- updated to 5.10.166.
|
|
|
+
|
|
|
+* Thu Jan 19 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.10.164-1
|
|
|
+- updated to 5.10.164.
|
|
|
+
|
|
|
+* Fri Jan 13 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.10.162-1
|
|
|
+- updated to 5.10.162.
|
|
|
+
|
|
|
+* Mon Dec 19 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.10.160-1
|
|
|
+- updated to 5.10.160.
|
|
|
+
|
|
|
* Thu Dec 08 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.10.158-1
|
|
|
- updated to 5.10.158.
|
|
|
|