Messages in this thread | | | Date | Thu, 25 May 2006 23:32:49 +0200 | From | "Michal Piotrowski" <> | Subject | Re: How to check if kernel sources are installed on a system? |
| |
Hi,
On 25/05/06, devmazumdar <dev@opensound.com> wrote: > How does one check the existence of the kernel source RPM (or deb) on > every single distribution?.
How about something like this
if [ -f /lib/modules/`uname -r`/build/Makefile ] then ... fi
[snip]
> provide a stable kernel API, then atleast please make this a requirement. > > > best regards > > Dev Mazumdar > 4Front Technologies > http://www.opensound.com
Regards, Michal
-- Michal K. K. Piotrowski LTG - Linux Testers Group (http://www.stardust.webpages.pl/ltg/wiki/) - 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/
| |