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.