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
(cherry picked from commit 5d99ce2b74
)
This commit is contained in:
parent
557c72d249
commit
fa9b039b31
@ -11,7 +11,7 @@ ExclusiveArch: aarch64
|
|||||||
|
|
||||||
%define local_version v8
|
%define local_version v8
|
||||||
%define bcmmodel 2711
|
%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.
|
# 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.
|
||||||
@ -49,6 +49,7 @@ 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: installonlypkg(kernel)
|
||||||
Requires: coreutils
|
Requires: coreutils
|
||||||
#Requires: dracut
|
#Requires: dracut
|
||||||
|
|
||||||
@ -63,6 +64,7 @@ Group: System Environment/Kernel
|
|||||||
Summary: Development package for building kernel modules to match the kernel
|
Summary: Development package for building kernel modules to match the kernel
|
||||||
Provides: kernel-devel = %{version}-%{release}
|
Provides: kernel-devel = %{version}-%{release}
|
||||||
Provides: kernel-devel-uname-r = %{version}-%{release}
|
Provides: kernel-devel-uname-r = %{version}-%{release}
|
||||||
|
Provides: installonlypkg(kernel)
|
||||||
Autoreq: no
|
Autoreq: no
|
||||||
Requires(pre): findutils
|
Requires(pre): findutils
|
||||||
Requires: 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
|
%doc /boot/LICENCE.broadcom
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jun 04 2024 Koichiro Iwao <meta@almalinux.org> - 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 <meta@almalinux.org> - 6.6.28-20240423.v8.1
|
* Thu May 30 2024 Koichiro Iwao <meta@almalinux.org> - 6.6.28-20240423.v8.1
|
||||||
- Update to version v6.6.28
|
- Update to version v6.6.28
|
||||||
- Support both Raspberry Pi 4 and 5
|
- Support both Raspberry Pi 4 and 5
|
||||||
|
Loading…
Reference in New Issue
Block a user