kernel-devel: should yum install, not update?

Ville Skyttä ville.skytta at iki.fi
Sat Jan 22 22:40:11 UTC 2005


On Sat, 2005-01-22 at 15:17 -0500, Sean Middleditch wrote:
> On Sat, 2005-01-22 at 14:39 -0500, seth vidal wrote:
> > On Sat, 2005-01-22 at 14:22 -0500, Jeff Spaleta wrote:
> > > Whatever is decided you probably want to have up2date default to the
> > > same behavior for consistency.
> > 
> > make kernel-devel provide 'kernel' or 'kernel-modules' and it will
> > happen automatically.
> 
> Out of curiosity, isn't having to have each package manager front-end
> special case the kernel kinda grotesque?  Should maybe packages that can
> be and prefer to be parallel installed over updated have an RPM header
> that states this, so that any package renames or new packages that need
> this behavior will just work?
> 
> One place it would be useful, for example, would be driver package for
> out-of-tree drivers (yes, GPL ones, too).

There is a simple way to make this work, already applied by lots of 3rd
party kernel stuff (modules, devel etc) package(r)s: put the uname of
the kernel in question to the package's Name: field.

This would also work with the kernel-devel packages.  No special cases
needed in any tools.  The uname-in-name scheme is not too pretty
looking, and it's (very) mildly annoying whenever one has to type it
manually (eg. to rpm -e one), but other than that, it Just Works(tm).




More information about the fedora-devel-list mailing list