Nameing guideline for external kernel-modules in fedora(.us)

Michael Schwendt ms-nospam-0306 at arcor.de
Tue Dec 16 03:32:11 UTC 2003


On Fri, 12 Dec 2003 20:55:58 +0100, Axel Thimm wrote:

> On Fri, Dec 12, 2003 at 07:53:59PM +0100, Thorsten Leemhuis wrote:
> > The kernel-driver is also mostly ready, but we're currently a bit
> > undecided how the resulting package with the kernel-modules should be
> > named. Also a problem: What package or files should it provide and what
> > should it require? For details see
> > http://bugzilla.fedora.us/show_bug.cgi?id=601
> > 
> > The fedora.us guidelines currently recommend to build a package per arch
> > which contains the modules for both UP and SMP kernel. Until now all
> > packages in fedora.us were AFAIK only for UP so alsa would be the first
> > and some people now wonder if this decision was right. So I'd like to
> > start the discussion again here -- maybe redhat employees and especially
> > yum, apt and up2date programmers can give input. 
> 
> That is a very bad recommendation, please package the kernel modules
> for each arch/flavour combination seperately. Just look at the kernels
> themselves and copy the scheme.

I wouldn't call it a "very bad recommendation". Putting UP and SMP modules
into a single package wouldn't hurt anyone. When you pay attention to
user's problems, a common mistake is that they pick the wrong kernel
modules package or ask which one to take. It's difficult enough for many
users to pick the correct architecture.
 
> > Freshrpms names the packages:
> > kernel-smp-module-alsa-1.0.0-0.rc2.1.fr_2.4.22_1.2129.nptl.i686.rpm
> > kernel-module-alsa-1.0.0-0.rc2.1.fr_2.4.22_1.2129.nptl.i686.rpm

Which is my favourite, because it has the "kernel" prefix.

> > atrpms names the packages:
> > alsa-kmdl-smp-2.4.22-1.2129.nptl-1.0.0-rc2_17.rhfc1.at.i686.rpm
> > alsa-kmdl-2.4.22-1.2129.nptl-1.0.0-rc2_17.rhfc1.at.i686.rpm
> 
> Hey, that look good ;)

"kmdl" is far too cryptic for my taste. Even alsa-kmod or alsa-kmods would
be shortened too much. It's better to have "kernel" in the package
name, so

  rpm --query --all 'kernel*'

also lists kernel module packages.

> Don't forget the more or less authoritative packager on ALSA, which is
> PlanetCCRMA:

Why "authoritative"?
 
> Next I prefer shorter "kmdl"-tags, as the longer "kernel-module"
> strings tend to make rpm's CLI output (as well as apt's and yum's)
> unreadable without providing more information.

A clever CLI program would not cut off very long package names, but split
such entries into two lines. It would still look good.
 
-- 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20031216/8c50cc2f/attachment.sig>


More information about the fedora-devel-list mailing list