[ATrpms-devel] suspend2 kernel provides

Axel Thimm Axel.Thimm at ATrpms.net
Wed May 17 11:58:20 CEST 2006


On Wed, May 17, 2006 at 11:05:02AM +0200, Alexander Bergolth wrote:
> Hi!
> 
> On 17.05.2006 03:31, Axel Thimm wrote:
> >> Again I only agree partly. ;)
> >> I claim that if kernel-suspend2 would provide only "kernel =
> >> <version>-<<release>" but not "kernel = <version>", things would work a
> >> lot better.
> > 
> > By covering up the bugs of the openafs rpm? The depedency of openafs
> > on "kernel" is buggy, it just doesn't show up directly. Only when
> > you'll install kernel-2.6.16-A and openafs for 2.6.16-B will you get
> > hit. That's what this broken dependency allows you to do.
>  >
>  > Even worse, regardless of what kernel-suspend2 will provide
>  > kernel=2.6.16 always wins (it's effectively a wildcard provides like
>  > kernel=2.6.16-*). So any normal kernel rpm would already satisfy it
>  > again. That's just provocing funny bugs that users and ATrpms
>  > maintainer would be seeking for ages to find :)
> 
> Reconsidering this point, I have to add something:
> Omitting the kernel-dependency does, of course, also allow you to 
> install openafs-2.6.16-B to a kernel-2.6.16-A. So nothing is won in 
> comparison to specifying a "Requires: kernel" dependency which will 
> simply be ineffective in many cases. (However, it will remind you of 
> eventually left over kernel-modules, if you change to a new 
> kernel-_version_.)
> 
> So I dont see this as a bug, it's just a dependency that isn't very 
> effective. And I don't see any advantage in omitting it. But maybe I 
> still didn't get the exact point.

Omit the broken "Provides: kernel" depedency and use the vmlinz
dependency. I wasn't implying no dependency at all. Althouh the
"Provides: kernel" already comes near to none at all ...
-- 
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/20060517/3bb0d643/attachment-0001.bin


More information about the atrpms-devel mailing list