lkml.org 
[lkml]   [2006]   [May]   [26]   [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?
From
Date
On Thu, 2006-05-25 at 18:29 -0400, Lee Revell wrote:
> On Thu, 2006-05-25 at 21:19 +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,
> > 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.
>
> I'd really like to see a distro-agnostic way to retrieve the kernel
> configuration. /proc/config.gz has existed for soem time but many
> distros inexplicably don't enable it.

/boot/config-`uname -r`


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

\
 
 \ /
  Last update: 2006-05-26 16:32    [W:0.168 / U:0.172 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site