Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750790AbWEZOaK (ORCPT ); Fri, 26 May 2006 10:30:10 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750801AbWEZOaK (ORCPT ); Fri, 26 May 2006 10:30:10 -0400 Received: from vbn.0050556.lodgenet.net ([216.142.194.234]:4587 "EHLO vbn.0050556.lodgenet.net") by vger.kernel.org with ESMTP id S1750790AbWEZOaI (ORCPT ); Fri, 26 May 2006 10:30:08 -0400 Subject: Re: How to check if kernel sources are installed on a system? From: Arjan van de Ven To: Lee Revell Cc: devmazumdar , linux-kernel@vger.kernel.org In-Reply-To: <1148596163.31038.30.camel@mindpipe> References: <1148596163.31038.30.camel@mindpipe> Content-Type: text/plain Date: Fri, 26 May 2006 16:29:54 +0200 Message-Id: <1148653797.3579.18.camel@laptopd505.fenrus.org> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 (2.2.3-2.fc4) Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 915 Lines: 22 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/