[lkml]   [2006]   [May]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: How to check if kernel sources are installed on a system?
On Thu, May 25, 2006 at 09:19:33PM -0000, devmazumdar wrote:
> How does one check the existence of the kernel source RPM (or deb) on
> every single distribution?.
> We know that rpm -qa | grep kernel-source works on Redhat, Fedora,

Actually, no it doesn't. The kernel source in RHEL4 & Fedora
is an srpm just like every other source package. Now, if you're
referring to kernel headers to build modules against, it's still
incorrect, that's a package called kernel-devel.

> SuSE, Mandrake and CentOS - how about other RPM based distros? How
> about debian based distros?. There doesn't seem to be a a single
> conherent naming scheme.

Why should there be? When people do things independantly, it's
unlikely they all arrive at the same solutions, and converging
back afterwards is difficult once there are deployments in the field.
(Even within 1 distro, when we moved from the kernel-source package
you referenced, to a .srpm, the fallout went on for *months*[1]).

You seem somewhat surprised at this. It may sound trivial, but
getting agreement on issues like this across distributions is a
long drawn out process. (See the LSB archives for some of the
madness surrounding issues like this).

> Another thing, can we please start enforcing that people ship kernel
> source with the base installation?

So you want to increase the footprint of everyone's minimal install,
even though the vast majority of users will never need it?
This isn't going to fly. Not everyone builds add-on modules.

> If distributors are distributing kernels, then it must be an absolute
> requirement that they ship kernel sources in a "configured" state as well.

On a Fedora system: yum install kernel-devel
As mentioned at length in the release notes.

Perhaps if you explain your problem in a less abrasive way instead of
coming here with demands, maybe something can be done to improve
whatever process you feel is failing.


[1] Given you seem to have missed this, it could be argued that it's
still ongoing, highlighting just how much of a problem renaming stuff causes.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2006-05-25 23:44    [W:0.146 / U:0.632 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site