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


David Smith wrote:
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.


Thanks, David for the script. Did you try to use the yum_kdebug.sh script for cross compiling examples? I noticed when trying to use "yum install" that yum would complain about installing kernels older than the currently installed kernel.


I would like to revise the stapprep.sh scrip to handle fedora repos correctly. There is the DEBUGINFOREPO variable that should be set appropriate for the various fedoras.

-Will


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