[Yum-devel] kernel-module, fedorakmod plugin status

Christoph Thiel cthiel at suse.de
Tue May 9 21:28:10 UTC 2006


On Tue, 9 May 2006, seth vidal wrote:

> > > Yes I was.  Would you (or someone) be interested in co-ordinating a 
> > > plugin, it should be relatively straight forward.
> > 
> > What would be the feature set that you'd expect from a plugin like 
> > that? Most (if not all) features of the -kmp packages should be 
> > working without any plugin with yum, IIUC. The only feature I could 
> > think of, would be a plugin to autoselect -kmp packages for 
> > installation, if the modinfo(...) provides of the -kmp match some 
> > hardware of the system.
> > 
> 
> to properly install not update things that are kernel modules. Except 
> when the kernel version doesn't change but the module version does. So 
> you can update modules for existing kernels.

I didn't really try this out with yum yet, but in theory it should work 
without a special plugin for our -kmp packages. They are just usual RPMs 
with some funny provides/requires:

$ rpm -qp --requires ndiswrapper-kmp-default-1.10_2.6.16.13_4-19.i586.rpm
rpmlib(VersionedDependencies) <= 3.0.3-1
kernel-default  
/bin/sh  
/bin/sh  
/bin/sh  
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(CompressedFileNames) <= 3.0.4-1
kernel(mm) = 3d6b445a058e7d3f
kernel(drivers) = 0fe6383185b77d3c
kernel(drivers_pci) = f982906dcfcc9ba3
kernel(kernel) = 3e632392437173c4
kernel(net) = 15bb1a39122b9ec3
kernel(net_core) = 5291bc08ba89cd5c
kernel(vmlinux) = 73b8cba1c47dd165
kernel(arch_i386_kernel) = 74a0933fa6e553b6
kernel(kernel_irq) = dd1d73732d05a591
kernel(drivers_usb_core) = f4e4f4aa439945ea
kernel(arch_i386_mm) = d424f52befea78dc
kernel(net_ethernet) = a684f6021b95f448
kernel(fs) = 1562a54678b1506f
kernel(fs_proc) = a6a21468612edfe7
kernel(drivers_char) = abcec045da1390ce
kernel(net_sched) = 8107ac53f2c91326
rpmlib(PayloadIsBzip2) <= 3.0.5-1
$ rpm -qp --requires ndiswrapper-kmp-default-1.10_2.6.16.13_4-19.i586.rpm
rpmlib(VersionedDependencies) <= 3.0.3-1
kernel-default  
/bin/sh  
/bin/sh  
/bin/sh  
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(CompressedFileNames) <= 3.0.4-1
kernel(mm) = 3d6b445a058e7d3f
kernel(drivers) = 0fe6383185b77d3c
kernel(drivers_pci) = f982906dcfcc9ba3
kernel(kernel) = 3e632392437173c4
kernel(net) = 15bb1a39122b9ec3
kernel(net_core) = 5291bc08ba89cd5c
kernel(vmlinux) = 73b8cba1c47dd165
kernel(arch_i386_kernel) = 74a0933fa6e553b6
kernel(kernel_irq) = dd1d73732d05a591
kernel(drivers_usb_core) = f4e4f4aa439945ea
kernel(arch_i386_mm) = d424f52befea78dc
kernel(net_ethernet) = a684f6021b95f448
kernel(fs) = 1562a54678b1506f
kernel(fs_proc) = a6a21468612edfe7
kernel(drivers_char) = abcec045da1390ce
kernel(net_sched) = 8107ac53f2c91326
rpmlib(PayloadIsBzip2) <= 3.0.5-1
$

Our kernel packages provide the kernel(...) = ... -- so, yum should be 
able to select a -kmp to be updated, as long as all dependencies fit.

Am I missing something?


Regards
	Christoph



More information about the Yum-devel mailing list