This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Simple script to grab and install the appropriate kernel RPMs


William Cohen wrote:
> Hi All,
> 
> In an effort to make it a bit easier to install systemtap on RHEL
> machines, I have made a small script to figure out which RPMs to install
> based either on the running kernel (no arguments to script) or the
> output of "uname -r" as an argument to the script. This script is only
> designed to work on RHEL. I would like to comments on it. The plan is to
> include this in the Systemtap beginners guide to make it easier for
> people to machine setup to run systemtap.

Here's the script I've used for awhile now (as you'll see since it
supports releases back to FC5).  It isn't much different than your
script, except it also supports Fedora.  Note that it currently doesn't
handle PAE kernels, but it could be made to handle that.

-- 
David Smith
dsmith@redhat.com
Red Hat
http://www.redhat.com
256.217.0141 (direct)
256.837.0057 (fax)

Attachment: yum_kdebug.sh
Description: application/shellscript


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]