Re: How to check if kernel sources are installed on a system?
From: Michal Piotrowski
Date: Thu May 25 2006 - 17:32:00 EST
Hi,
On 25/05/06, devmazumdar <dev@xxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/