Otherwise kernel-vanilla-headers will not provide kernel-headers, which breaks some dependencies.
Signed-off-by: Paul Bolle pebolle@tiscali.nl --- 0) I somehow managed to paint myself in a corner playing with kernel-vanilla builds. It turns out kernel-vanilla-headers rpms do not provide "kernel-headers" but "kernel-vanilla-headers".
1) This patch seems to fix that. Sent as an RFC because I'd rather not publicly claim to understand kernel.spec.
kernel.spec | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/kernel.spec b/kernel.spec index dc3c32b..1cd5f15 100644 --- a/kernel.spec +++ b/kernel.spec @@ -775,6 +775,8 @@ Summary: Header files for the Linux kernel for use by glibc Group: Development/System Obsoletes: glibc-kernheaders < 3.0-46 Provides: glibc-kernheaders = 3.0-46 +Provides: kernel-headers = %{rpmversion}-%{pkg_release} +Provides: kernel-headers-%{_target_cpu} = %{rpmversion}-%{pkg_release} %description headers Kernel-headers includes the C header files that specify the interface between the Linux kernel and userspace libraries and programs. The
On Fri, Mar 11, 2011 at 01:45:49PM +0100, Paul Bolle wrote:
Otherwise kernel-vanilla-headers will not provide kernel-headers, which breaks some dependencies.
You probably shouldn't (ever) install a different kernel-headers. Maybe I should just disable building it when building -vanilla flavours.
regards, Kyle
kernel@lists.fedoraproject.org