[Yum-devel] kernel-module plugin - problems during install
Panu Matilainen
pmatilai at laiskiainen.org
Tue Feb 28 16:42:13 UTC 2006
On Tue, 2006-02-28 at 09:54 -0600, Troy Dawson wrote:
> Panu Matilainen wrote:
> > One could try handling this by excluding all kernel-module packages
> > except those of the "target kernel", so the depsolver only has one
> > choice. The question then becomes: what exactly is the "target kernel" -
> > is it the running kernel or the latest installed kernel? If you say
> > "both" we're back to square one with depsolver having 50/50 chance of
> > getting it wrong :)
> >
> > - Panu -
>
> That does make sense, and explains my frustration at not getting any
> further.
> But then, how do you tell your users to install things that require
> kernel-modules?
> Oh ... I just figured that part out.
>
> yum install openafs openafs-client kernel-module-openafs-`uname -r`
>
> That works, and it garantee it get's them the kernel-module of what is
> currently running, which was the main problem my users were seeing.
Well, if target kernel for kernel modules == running kernel is ok for
you, then the attached patch should do the trick.
The problem with this of course is that if you've already updated the
system and have a newer kernel installed than you're running, nothing
will pull in the kernel module for the newer kernel.
- Panu -
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kernel-module-exclude.patch
Type: text/x-patch
Size: 1366 bytes
Desc: not available
Url : http://lists.baseurl.org/pipermail/yum-devel/attachments/20060228/07d37064/attachment.bin
More information about the Yum-devel
mailing list