[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Kernel Modules in Fedora -x



On Friday 10 August 2007, Alan Cox wrote:
> On Fri, Aug 10, 2007 at 02:44:29PM +0300, Ville Skyttä wrote:
> > I don't think the kernel packages until early 2005 provided anything that
> > would have made arch-qualified dependencies possible (eg. requiring a
> > specific i586 kernel over a i686 with the same NEVR), see bug 143160
>
> The file paths are different so you can depend on the exact file as well
> as the package

The point of the above bug report is that even no paths that could be sanely 
used like that existed, and still don't today.  Well except of course if one 
bases the dependency on whether some quite possibly unrelated modules are 
built or not (eg. powernow-k6.ko is for i586 but not i686, and p4-clockmod.ko 
is for i686 but not for i586) but I suppose you didn't mean that, and in any 
case I don't think it satisfies "sanely".

Fedora 1:

$ rpm -qlp kernel-2.4.22-1.2115.nptl.i586.rpm | grep 586
(no output)
$ rpm -qlp kernel-2.4.22-1.2115.nptl.i686.rpm | grep 686
/lib/modules/2.4.22-1.2115.nptl/kernel/drivers/sensors/via686a.o

Fedora 7:

$ rpm -qlp kernel-2.6.22.1-41.fc7.i586.rpm | grep 586
/lib/modules/2.6.22.1-41.fc7/kernel/arch/i386/crypto/aes-i586.ko
/lib/modules/2.6.22.1-41.fc7/kernel/arch/i386/crypto/twofish-i586.ko
$ rpm -qlp kernel-2.6.22.1-41.fc7.i586.rpm | grep 686
/lib/modules/2.6.22.1-41.fc7/kernel/drivers/hwmon/via686a.ko
$ rpm -qlp kernel-2.6.22.1-41.fc7.i686.rpm | grep i586
/lib/modules/2.6.22.1-41.fc7/kernel/arch/i386/crypto/aes-i586.ko
/lib/modules/2.6.22.1-41.fc7/kernel/arch/i386/crypto/twofish-i586.ko
$ rpm -qlp kernel-2.6.22.1-41.fc7.i686.rpm | grep i686
/lib/modules/2.6.22.1-41.fc7/kernel/drivers/hwmon/via686a.ko

After early 2005 it's no longer a problem due to the added Provides that 
contain the arch.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]