forked from rpms/raspberrypi2
Merge pull request 'Update for AL10' (#14) from metalefty/raspberrypi:a10-6.12.y into a10
Reviewed-on: rpms/raspberrypi2#14
This commit is contained in:
commit
08e96e435e
@ -1,2 +1,2 @@
|
|||||||
cf5423b4444fe7a1d4b548b4e668b6a82ed290e8 SOURCES/stable_20241008.tar.gz
|
097ac2ea24117c85f5e97eca810c5fd98d3576b2 SOURCES/1.20241126.tar.gz
|
||||||
ac72e2f196857ecf73167250e87d33838a3859f7 SOURCES/1.20241008.tar.gz
|
15d20d02cbea3641470b226ae025d8ddbdaf2913 SOURCES/rpi-6.12.y_20241206_2.tar.gz
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
%global firmware_tag 1.20241008
|
%global firmware_tag 1.20241126
|
||||||
%global version_tag 20241008
|
%global version_tag rpi-6.12.y_20241206_2
|
||||||
|
|
||||||
ExclusiveArch: aarch64
|
ExclusiveArch: aarch64
|
||||||
|
|
||||||
@ -18,8 +18,14 @@ ExclusiveArch: aarch64
|
|||||||
%define rpisuffix 2
|
%define rpisuffix 2
|
||||||
%define ksuffix 4
|
%define ksuffix 4
|
||||||
|
|
||||||
%define kversion 6.6
|
%define kversion 6.12
|
||||||
%define patchlevel 51
|
%define patchlevel 1
|
||||||
|
|
||||||
|
%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}
|
||||||
@ -32,12 +38,12 @@ ExclusiveArch: aarch64
|
|||||||
|
|
||||||
Name: raspberrypi%{rpisuffix}
|
Name: raspberrypi%{rpisuffix}
|
||||||
Version: %{kversion}.%{patchlevel}
|
Version: %{kversion}.%{patchlevel}
|
||||||
Release: %{version_tag}.%{local_version}.%{extra_version}%{?dist}
|
Release: 20241206.%{local_version}.%{extra_version}%{?dist}
|
||||||
Summary: Specific kernel and bootcode for Raspberry Pi
|
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/%{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
|
||||||
@ -164,9 +170,9 @@ glibc package.
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n linux-stable_%{version_tag}
|
%setup -q -n linux-%{version_tag}
|
||||||
%patch100 -p1
|
%patch -P 100 -p1
|
||||||
%patch101 -p1
|
%patch -P 101 -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
|
||||||
@ -177,9 +183,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.py -pni "%{__python3} %{py3_shbang_opts}" scripts/
|
%{pathfix} -pni "%{__python3} %{py3_shbang_opts}" scripts/
|
||||||
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}" scripts/diffconfig scripts/bloat-o-meter scripts/show_delta scripts/jobserver-exec
|
||||||
pathfix.py -pni "%{__python3} %{py3_shbang_opts}" tools/ tools/perf/scripts/python/*.py tools/kvm/kvm_stat/kvm_stat scripts/clang-tools/*.py
|
%{pathfix} -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
|
||||||
@ -432,6 +438,19 @@ cp $(ls -1 /boot/config-kernel-*-*|sort -V|tail -1) /boot/config-kernel.inc
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* 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