From 5d99ce2b7450502d179a5062c15b8a31b059b29a Mon Sep 17 00:00:00 2001
From: Koichiro Iwao
Date: Tue, 4 Jun 2024 02:25:25 +0000
Subject: [PATCH 1/2] Add installonlypkg(kernel) to kernel and -devel
subpackages
Resolves: https://github.com/AlmaLinux/raspberry-pi/issues/39
See also: https://src.fedoraproject.org/rpms/kernel/c/aba3940
---
SPECS/raspberrypi2.spec | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/SPECS/raspberrypi2.spec b/SPECS/raspberrypi2.spec
index db56644..abcf7e6 100644
--- a/SPECS/raspberrypi2.spec
+++ b/SPECS/raspberrypi2.spec
@@ -11,7 +11,7 @@ ExclusiveArch: aarch64
%define local_version v8
%define bcmmodel 2711
-%define extra_version 1
+%define extra_version 2
# 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.
@@ -49,6 +49,7 @@ Specific kernel and bootcode for Raspberry Pi
Group: System Environment/Kernel
Summary: The Linux kernel
Provides: kernel = %{version}-%{release}
+Provides: installonlypkg(kernel)
Requires: coreutils
#Requires: dracut
@@ -63,6 +64,7 @@ Group: System Environment/Kernel
Summary: Development package for building kernel modules to match the kernel
Provides: kernel-devel = %{version}-%{release}
Provides: kernel-devel-uname-r = %{version}-%{release}
+Provides: installonlypkg(kernel)
Autoreq: no
Requires(pre): findutils
Requires: findutils
@@ -232,6 +234,11 @@ cp $(ls -1 /boot/config-kernel-*-*|sort -V|tail -1) /boot/config-kernel.inc
%doc /boot/LICENCE.broadcom
%changelog
+* Tue Jun 04 2024 Koichiro Iwao - 6.6.28-20240423.v8.2
+- Add installonlypkg(kernel) to kernel and -devel subpackages
+ Resolves: https://github.com/AlmaLinux/raspberry-pi/issues/39
+ See also: https://src.fedoraproject.org/rpms/kernel/c/aba3940
+
* Thu May 30 2024 Koichiro Iwao - 6.6.28-20240423.v8.1
- Update to version v6.6.28
- Support both Raspberry Pi 4 and 5
From 176ca9d665f8cf99d876a3f919e8b9f79e20383f Mon Sep 17 00:00:00 2001
From: Koichiro Iwao
Date: Thu, 13 Jun 2024 06:49:10 +0000
Subject: [PATCH 2/2] Update to v6.6.31 stable_20240529
---
.raspberrypi2.metadata | 2 +-
SPECS/raspberrypi2.spec | 9 ++++++---
2 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/.raspberrypi2.metadata b/.raspberrypi2.metadata
index 988d3ba..0ce31ad 100644
--- a/.raspberrypi2.metadata
+++ b/.raspberrypi2.metadata
@@ -1,2 +1,2 @@
60c685b1ff49b11454c147944a6f4e9e24cd05db SOURCES/734829e3525e5baea62d1deedbe65eb60f4fb36b.tar.gz
-a975279af2634dd89b7a2d6a30eaab11240a88e8 SOURCES/stable_20240423.tar.gz
+3b0f152bca3eada3b0796fc95da0f025864a70c1 SOURCES/stable_20240529.tar.gz
diff --git a/SPECS/raspberrypi2.spec b/SPECS/raspberrypi2.spec
index abcf7e6..4a16c74 100644
--- a/SPECS/raspberrypi2.spec
+++ b/SPECS/raspberrypi2.spec
@@ -1,5 +1,5 @@
%global commit_firmware_long 734829e3525e5baea62d1deedbe65eb60f4fb36b
-%global version_tag 20240423
+%global version_tag 20240529
ExclusiveArch: aarch64
@@ -11,7 +11,7 @@ ExclusiveArch: aarch64
%define local_version v8
%define bcmmodel 2711
-%define extra_version 2
+%define extra_version 1
# 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.
@@ -19,7 +19,7 @@ ExclusiveArch: aarch64
%define ksuffix 4
%define kversion 6.6
-%define patchlevel 28
+%define patchlevel 31
Name: raspberrypi%{rpisuffix}
Version: %{kversion}.%{patchlevel}
@@ -234,6 +234,9 @@ cp $(ls -1 /boot/config-kernel-*-*|sort -V|tail -1) /boot/config-kernel.inc
%doc /boot/LICENCE.broadcom
%changelog
+* Mon Jun 10 2024 Koichiro Iwao - 6.6.31-20240529.v8.1
+- Update to v6.6.31 stable_20240529
+
* Tue Jun 04 2024 Koichiro Iwao - 6.6.28-20240423.v8.2
- Add installonlypkg(kernel) to kernel and -devel subpackages
Resolves: https://github.com/AlmaLinux/raspberry-pi/issues/39