Merge pull request 'Update to v6.6.51 stable_20241008' (#13) from metalefty/raspberrypi:a8 into a8

Reviewed-on: #13
This commit is contained in:
Andrew Lukoshko 2024-10-22 20:33:06 +00:00
commit 30a29bcbf6

View File

@ -1,5 +1,5 @@
%global commit_firmware_long 734829e3525e5baea62d1deedbe65eb60f4fb36b %global firmware_tag 1.20241008
%global version_tag 20240529 %global version_tag 20241008
ExclusiveArch: aarch64 ExclusiveArch: aarch64
@ -11,7 +11,7 @@ ExclusiveArch: aarch64
%define local_version v8 %define local_version v8
%define bcmmodel 2711 %define bcmmodel 2711
%define extra_version 4 %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.
@ -19,7 +19,7 @@ ExclusiveArch: aarch64
%define ksuffix 4 %define ksuffix 4
%define kversion 6.6 %define kversion 6.6
%define patchlevel 31 %define patchlevel 51
# standard kernel # standard kernel
%define with_up %{?_without_up: 0} %{?!_without_up: 1} %define with_up %{?_without_up: 0} %{?!_without_up: 1}
@ -38,7 +38,7 @@ Summary: Specific kernel and bootcode for Raspberry Pi
License: GPLv2 License: GPLv2
URL: https://github.com/raspberrypi/linux URL: https://github.com/raspberrypi/linux
Source0: https://github.com/raspberrypi/linux/archive/refs/tags/stable_%{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/%{commit_firmware_long}.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
# Sources for kernel-tools # Sources for kernel-tools
@ -273,12 +273,13 @@ ln -T -s build %{buildroot}/lib/modules/%{version}-%{release}/source --force
# firmware # firmware
# precompiled GPU firmware and bootloader # precompiled GPU firmware and bootloader
pushd %{buildroot} pushd %{buildroot}
tar -xf %{_sourcedir}/%{commit_firmware_long}.tar.gz \ tar -xf %{_sourcedir}/%{firmware_tag}.tar.gz \
firmware-%{commit_firmware_long}/boot/start* \ firmware-%{firmware_tag}/boot/start* \
firmware-%{commit_firmware_long}/boot/fixup* \ firmware-%{firmware_tag}/boot/fixup* \
firmware-%{commit_firmware_long}/boot/LICENCE.broadcom \ firmware-%{firmware_tag}/boot/LICENCE.broadcom \
firmware-%{commit_firmware_long}/boot/bootcode.bin \ firmware-%{firmware_tag}/boot/bootcode.bin \
--strip-components=1 --strip-components=1
%{__chmod} -x %{buildroot}/boot/start*.elf
popd popd
%endif %endif
@ -431,6 +432,10 @@ cp $(ls -1 /boot/config-kernel-*-*|sort -V|tail -1) /boot/config-kernel.inc
%endif %endif
%changelog %changelog
* 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 firmware to 1.20241008
* Thu Sep 05 2024 Koichiro Iwao <meta@almalinux.org> - 6.6.31-20240529.v8.4 * Thu Sep 05 2024 Koichiro Iwao <meta@almalinux.org> - 6.6.31-20240529.v8.4
- Add kernel-headers subpackage - Add kernel-headers subpackage