[ATrpms-devel] suspend2 kernel provides

Axel Thimm Axel.Thimm at ATrpms.net
Mon May 15 17:34:36 CEST 2006


On Mon, May 15, 2006 at 04:59:05PM +0200, Alexander Bergolth wrote:
> Hi!
> 
> I noticed that the suspend2-kernels are providing something like
> kernel-suspend2 = 2.6.16-1.2111_1.99.rhfc5.cubbi_suspend2_8k
> instead of
> kernel = 2.6.16-1.2111_1.99.rhfc5.cubbi_suspend2_8k
> (The same applies to kernel-suspend2-smp vs. kernel-smp.)
> 
> This leads to problems when compiling external kernel-modules like
> openafs (sorry axel ;)) as they, of course, all have
> Requires: kernel = %{kversion}
> instead of
> Requires: kernel-suspend2 = %{kversion}
> ... in their spec-files.

That's broken anyhow, because any kernel 2.6.16 will satify it. That's
why kmdls don't rely on the kernel Provides. So your best bet is to
remove that dependency from the specfile.

> Is there a reason why you named it kernel-suspend2 instead of just kernel?

Yes, so it can live in the stable section. Otherwise it would be
installed by on every ATrpms user as the default kernel.

> I believe there should be at least an additional
> Provides: kernel = %{suspend2version}
> ... to avoid having to rewrite all third party spec-files...

Only the broken specfiles :)

Maybe you'd like to get openafs into ATrpms with a proper kmdl? Once
integrated, kmdls for new kernels will automatically be generated
inclusing suspend2 kernels.
-- 
Axel.Thimm at ATrpms.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.atrpms.net/pipermail/atrpms-devel/attachments/20060515/f157eee0/attachment.bin


More information about the atrpms-devel mailing list