Compare commits
No commits in common. "b14ff2f6c9d27c5ac39fc2d05fa2eab6ba380cca" and "438247604aa5bf42ed11093a7c4dfd0af86ba146" have entirely different histories.
b14ff2f6c9
...
438247604a
@ -1,2 +1,2 @@
|
|||||||
15d20d02cbea3641470b226ae025d8ddbdaf2913 SOURCES/rpi-6.12.y_20241206_2.tar.gz
|
cf5423b4444fe7a1d4b548b4e668b6a82ed290e8 SOURCES/stable_20241008.tar.gz
|
||||||
3b7015807a4ca000fb448ed13b51d63a5dc7a745 SOURCES/1.20250127.tar.gz
|
ac72e2f196857ecf73167250e87d33838a3859f7 SOURCES/1.20241008.tar.gz
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
%global firmware_tag 1.20250127
|
%global firmware_tag 1.20241008
|
||||||
%global version_tag rpi-6.12.y_20241206_2
|
%global version_tag 20241008
|
||||||
|
|
||||||
ExclusiveArch: aarch64
|
ExclusiveArch: aarch64
|
||||||
|
|
||||||
@ -11,21 +11,15 @@ ExclusiveArch: aarch64
|
|||||||
|
|
||||||
%define local_version v8
|
%define local_version v8
|
||||||
%define bcmmodel 2711
|
%define bcmmodel 2711
|
||||||
%define extra_version 3
|
%define extra_version 1
|
||||||
|
|
||||||
# This originally implies Kernel 4.x for RPi 2 and is not appropriate now.
|
# This originally implies Kernel 4.x for RPi 2 and is not appropriate now.
|
||||||
# Be careful to change this not to disturb the seamless package update.
|
# Be careful to change this not to disturb the seamless package update.
|
||||||
%define rpisuffix 2
|
%define rpisuffix 2
|
||||||
%define ksuffix 4
|
%define ksuffix 4
|
||||||
|
|
||||||
%define kversion 6.12
|
%define kversion 6.6
|
||||||
%define patchlevel 1
|
%define patchlevel 51
|
||||||
|
|
||||||
%if 0%{?rhel} >= 10
|
|
||||||
%define pathfix %{__python3} %{_rpmconfigdir}/redhat/pathfix.py
|
|
||||||
%else
|
|
||||||
%define pathfix pathfix.py
|
|
||||||
%endif
|
|
||||||
|
|
||||||
# standard kernel
|
# standard kernel
|
||||||
%define with_up %{?_without_up: 0} %{?!_without_up: 1}
|
%define with_up %{?_without_up: 0} %{?!_without_up: 1}
|
||||||
@ -38,12 +32,12 @@ ExclusiveArch: aarch64
|
|||||||
|
|
||||||
Name: raspberrypi%{rpisuffix}
|
Name: raspberrypi%{rpisuffix}
|
||||||
Version: %{kversion}.%{patchlevel}
|
Version: %{kversion}.%{patchlevel}
|
||||||
Release: 20241206.%{local_version}.%{extra_version}%{?dist}
|
Release: %{version_tag}.%{local_version}.%{extra_version}%{?dist}
|
||||||
Summary: Specific kernel and bootcode for Raspberry Pi
|
Summary: Specific kernel and bootcode for Raspberry Pi
|
||||||
|
|
||||||
License: GPL-2.0 WITH Linux-syscall-note
|
License: GPLv2
|
||||||
URL: https://github.com/raspberrypi/linux
|
URL: https://github.com/raspberrypi/linux
|
||||||
Source0: https://github.com/raspberrypi/linux/archive/%{version_tag}.tar.gz
|
Source0: https://github.com/raspberrypi/linux/archive/refs/tags/stable_%{version_tag}.tar.gz
|
||||||
Source1: https://github.com/raspberrypi/firmware/archive/refs/tags/%{firmware_tag}.tar.gz
|
Source1: https://github.com/raspberrypi/firmware/archive/refs/tags/%{firmware_tag}.tar.gz
|
||||||
Patch100: config_2711.patch
|
Patch100: config_2711.patch
|
||||||
Patch101: config_2712.patch
|
Patch101: config_2712.patch
|
||||||
@ -75,9 +69,10 @@ Specific kernel and bootcode for Raspberry Pi
|
|||||||
Group: System Environment/Kernel
|
Group: System Environment/Kernel
|
||||||
Summary: The Linux kernel
|
Summary: The Linux kernel
|
||||||
Provides: kernel = %{version}-%{release}
|
Provides: kernel = %{version}-%{release}
|
||||||
Provides: kernel-core = %{version}-%{release}
|
|
||||||
Provides: installonlypkg(kernel)
|
Provides: installonlypkg(kernel)
|
||||||
Requires: coreutils
|
Requires: coreutils
|
||||||
|
#Requires: dracut
|
||||||
|
|
||||||
%description kernel%{?ksuffix}
|
%description kernel%{?ksuffix}
|
||||||
The kernel package contains the Linux kernel (vmlinuz), the core of any
|
The kernel package contains the Linux kernel (vmlinuz), the core of any
|
||||||
Linux operating system. The kernel handles the basic functions
|
Linux operating system. The kernel handles the basic functions
|
||||||
@ -94,52 +89,11 @@ Autoreq: no
|
|||||||
Requires(pre): findutils
|
Requires(pre): findutils
|
||||||
Requires: findutils
|
Requires: findutils
|
||||||
Requires: perl-interpreter
|
Requires: perl-interpreter
|
||||||
|
|
||||||
%description kernel%{?ksuffix}-devel
|
%description kernel%{?ksuffix}-devel
|
||||||
This package provides kernel headers and makefiles sufficient to build modules
|
This package provides kernel headers and makefiles sufficient to build modules
|
||||||
against the kernel package.
|
against the kernel package.
|
||||||
|
|
||||||
%package kernel%{?ksuffix}-modules
|
|
||||||
Summary: Pseudo package for kernel modules
|
|
||||||
Group: System Environment/Kernel
|
|
||||||
Provides: installonlypkg(kernel-module)
|
|
||||||
Provides: kernel-modules = %{version}-%{release}
|
|
||||||
Provides: kernel-modules-uname-r = %{version}-%{release}
|
|
||||||
Obsoletes: kernel-modules < %{version}-%{release}
|
|
||||||
Requires: %{name}-kernel%{?ksuffix} = %{version}-%{release}
|
|
||||||
AutoReq: no
|
|
||||||
AutoProv: yes
|
|
||||||
%description kernel%{?ksuffix}-modules
|
|
||||||
This package provides pseudo dependency for the packages that depends on regular
|
|
||||||
kernel-modules packages.
|
|
||||||
|
|
||||||
%package kernel%{?ksuffix}-modules-core
|
|
||||||
Summary: Pseudo package for core kernel modules
|
|
||||||
Group: System Environment/Kernel
|
|
||||||
Provides: installonlypkg(kernel-module)
|
|
||||||
Provides: kernel-modules-core = %{version}-%{release}
|
|
||||||
Provides: kernel-modules-core-uname-r = %{version}-%{release}
|
|
||||||
Obsoletes: kernel-modules-core < %{version}-%{release}
|
|
||||||
Requires: %{name}-kernel%{?ksuffix} = %{version}-%{release}
|
|
||||||
AutoReq: no
|
|
||||||
AutoProv: yes
|
|
||||||
%description kernel%{?ksuffix}-modules-core
|
|
||||||
This package provides pseudo dependency for the packages that depends on regular
|
|
||||||
kernel-modules-core packages.
|
|
||||||
|
|
||||||
%package kernel%{?ksuffix}-modules-extra
|
|
||||||
Summary: Pseudo package for extra kernel modules
|
|
||||||
Group: System Environment/Kernel
|
|
||||||
Provides: kernel-modules-extra = %{version}-%{release}
|
|
||||||
Provides: kernel-modules-extra-uname-r = %{version}-%{release}
|
|
||||||
Provides: installonlypkg(kernel-module)
|
|
||||||
Obsoletes: kernel-modules-extra < %{version}-%{release}
|
|
||||||
Requires: %{name}-kernel%{?ksuffix} = %{version}-%{release}
|
|
||||||
AutoReq: no
|
|
||||||
AutoProv: yes
|
|
||||||
%description kernel%{?ksuffix}-modules-extra
|
|
||||||
This package provides pseudo dependency for the packages that depends on regular
|
|
||||||
kernel-modules-extra packages.
|
|
||||||
|
|
||||||
%if %{with_tools}
|
%if %{with_tools}
|
||||||
%package kernel%{?ksuffix}-tools
|
%package kernel%{?ksuffix}-tools
|
||||||
Summary: Assortment of tools for the Linux kernel
|
Summary: Assortment of tools for the Linux kernel
|
||||||
@ -199,7 +153,7 @@ Obsoletes: kernel-headers < %{version}
|
|||||||
Provides: kernel-headers = %{version}-%{release}
|
Provides: kernel-headers = %{version}-%{release}
|
||||||
Obsoletes: glibc-kernheaders < 3.0-46
|
Obsoletes: glibc-kernheaders < 3.0-46
|
||||||
Provides: glibc-kernheaders = 3.0-46
|
Provides: glibc-kernheaders = 3.0-46
|
||||||
Summary: Header files for the Linux kernel for use by glibc
|
Summary: Header files for the Linux kernel for use by glibc
|
||||||
|
|
||||||
%description kernel%{?ksuffix}-headers
|
%description kernel%{?ksuffix}-headers
|
||||||
Kernel-headers includes the C header files that specify the interface
|
Kernel-headers includes the C header files that specify the interface
|
||||||
@ -210,9 +164,9 @@ glibc package.
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n linux-%{version_tag}
|
%setup -q -n linux-stable_%{version_tag}
|
||||||
%patch -P 100 -p1
|
%patch100 -p1
|
||||||
%patch -P 101 -p1
|
%patch101 -p1
|
||||||
perl -p -i -e "s/^EXTRAVERSION.*/EXTRAVERSION = -%{release}/" Makefile
|
perl -p -i -e "s/^EXTRAVERSION.*/EXTRAVERSION = -%{release}/" Makefile
|
||||||
perl -p -i -e "s/^CONFIG_LOCALVERSION=.*/CONFIG_LOCALVERSION=/" arch/%{Arch}/configs/bcm2711_defconfig
|
perl -p -i -e "s/^CONFIG_LOCALVERSION=.*/CONFIG_LOCALVERSION=/" arch/%{Arch}/configs/bcm2711_defconfig
|
||||||
perl -p -i -e "s/^CONFIG_LOCALVERSION=.*/CONFIG_LOCALVERSION=/" arch/%{Arch}/configs/bcm2712_defconfig
|
perl -p -i -e "s/^CONFIG_LOCALVERSION=.*/CONFIG_LOCALVERSION=/" arch/%{Arch}/configs/bcm2712_defconfig
|
||||||
@ -223,9 +177,9 @@ perl -p -i -e "s/^CONFIG_LOCALVERSION=.*/CONFIG_LOCALVERSION=/" arch/%{Arch}/con
|
|||||||
# -p preserves timestamps
|
# -p preserves timestamps
|
||||||
# -n prevents creating ~backup files
|
# -n prevents creating ~backup files
|
||||||
# -i specifies the interpreter for the shebang
|
# -i specifies the interpreter for the shebang
|
||||||
%{pathfix} -pni "%{__python3} %{py3_shbang_opts}" scripts/
|
pathfix.py -pni "%{__python3} %{py3_shbang_opts}" scripts/
|
||||||
%{pathfix} -pni "%{__python3} %{py3_shbang_opts}" scripts/diffconfig scripts/bloat-o-meter scripts/show_delta scripts/jobserver-exec
|
pathfix.py -pni "%{__python3} %{py3_shbang_opts}" scripts/diffconfig scripts/bloat-o-meter scripts/show_delta scripts/jobserver-exec
|
||||||
%{pathfix} -pni "%{__python3} %{py3_shbang_opts}" tools/ tools/perf/scripts/python/*.py tools/kvm/kvm_stat/kvm_stat scripts/clang-tools/*.py
|
pathfix.py -pni "%{__python3} %{py3_shbang_opts}" tools/ tools/perf/scripts/python/*.py tools/kvm/kvm_stat/kvm_stat scripts/clang-tools/*.py
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -408,6 +362,7 @@ fi
|
|||||||
cp /usr/share/%{name}-kernel/%{version}-%{release}/boot/*.dtb /boot/
|
cp /usr/share/%{name}-kernel/%{version}-%{release}/boot/*.dtb /boot/
|
||||||
cp /usr/share/%{name}-kernel/%{version}-%{release}/boot/overlays/*.dtb* /boot/overlays/
|
cp /usr/share/%{name}-kernel/%{version}-%{release}/boot/overlays/*.dtb* /boot/overlays/
|
||||||
cp /usr/share/%{name}-kernel/%{version}-%{release}/boot/overlays/README /boot/overlays/
|
cp /usr/share/%{name}-kernel/%{version}-%{release}/boot/overlays/README /boot/overlays/
|
||||||
|
/usr/bin/dracut /boot/initramfs-%{version}-%{release}.img %{version}-%{release}
|
||||||
cp /boot/config-kernel-%{version}-%{release}.inc /boot/config-kernel.inc
|
cp /boot/config-kernel-%{version}-%{release}.inc /boot/config-kernel.inc
|
||||||
|
|
||||||
%postun kernel%{?ksuffix}
|
%postun kernel%{?ksuffix}
|
||||||
@ -424,18 +379,6 @@ cp $(ls -1 /boot/config-kernel-*-*|sort -V|tail -1) /boot/config-kernel.inc
|
|||||||
%files kernel%{?ksuffix}-devel
|
%files kernel%{?ksuffix}-devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
/usr/src/kernels/%{version}-%{release}
|
/usr/src/kernels/%{version}-%{release}
|
||||||
|
|
||||||
%files kernel%{?ksuffix}-modules
|
|
||||||
# empty package
|
|
||||||
%defattr(-,root,root)
|
|
||||||
|
|
||||||
%files kernel%{?ksuffix}-modules-core
|
|
||||||
# empty package
|
|
||||||
%defattr(-,root,root)
|
|
||||||
|
|
||||||
%files kernel%{?ksuffix}-modules-extra
|
|
||||||
# empty package
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{with_tools}
|
%if %{with_tools}
|
||||||
@ -489,28 +432,6 @@ cp $(ls -1 /boot/config-kernel-*-*|sort -V|tail -1) /boot/config-kernel.inc
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Thu Feb 20 2025 Koichiro Iwao <meta@almalinux.org> - 6.12.1-20241206.v8.3
|
|
||||||
- Update firmware to 1.20250127
|
|
||||||
|
|
||||||
* Mon Jan 27 2025 Koichiro Iwao <emta@almalinux.org> - 6.12.1-20241206.v8.2
|
|
||||||
- Add pseudo subpackages for kernel modules to resolve dependency issue
|
|
||||||
- The main kernel package now provides kernel-core
|
|
||||||
- Convert license to SPDX expression
|
|
||||||
- Remove dracut as initramfs is not needed (mentioned in 4.4.21-2)
|
|
||||||
|
|
||||||
* Wed Dec 25 2024 Koichiro Iwao <meta@almalinux.org> - 6.12.1-20241206.v8.1
|
|
||||||
- Update kernel to v6.12.1 rpi-6.12.y_20241206_2
|
|
||||||
- Update firmware to 1.20241126
|
|
||||||
|
|
||||||
* Tue Nov 12 2024 Koichiro Iwao <meta@almalinux.org> - 6.12.0-20241111.v8.1
|
|
||||||
- Update kernel to v6.12.0-rc7 20241110 bf70ebd2
|
|
||||||
|
|
||||||
* Tue Nov 12 2024 Koichiro Iwao <meta@almalinux.org> - 6.11.7-20241110.v8.1
|
|
||||||
- Update kernel to v6.11.7 20241110 efda653d
|
|
||||||
|
|
||||||
* Fri Nov 08 2024 Koichiro Iwao <meta@almalinux.org> - 6.6.51-20241008.v8.2
|
|
||||||
- Fix build for AL10 Kitten
|
|
||||||
|
|
||||||
* Mon Oct 21 2024 Koichiro Iwao <meta@almalinux.org> - 6.6.51-20241008.v8.1
|
* Mon Oct 21 2024 Koichiro Iwao <meta@almalinux.org> - 6.6.51-20241008.v8.1
|
||||||
- Update kernel to version v6.6.51 stable_20241008
|
- Update kernel to version v6.6.51 stable_20241008
|
||||||
- Update firmware to 1.20241008
|
- Update firmware to 1.20241008
|
||||||
|
Loading…
Reference in New Issue
Block a user