How to check if kernel sources are installed on a system?

From: devmazumdar
Date: Thu May 25 2006 - 17:18:43 EST


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,
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.

Another thing, can we please start enforcing that people ship kernel
source with the base installation? If distributors are distributing
kernels, then it must be an absolute requirement that they ship kernel
sources in a "configured" state as well. If you're not going to
provide a stable kernel API, then atleast please make this a requirement.


best regards

Dev Mazumdar
4Front Technologies
http://www.opensound.com















-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/