public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
From: William Cohen <wcohen@redhat.com>
To: David Smith <dsmith@redhat.com>
Cc: SystemTAP <systemtap@sources.redhat.com>
Subject: Re: Simple script to grab and install the appropriate kernel RPMs
Date: Tue, 04 Nov 2008 18:35:00 -0000	[thread overview]
Message-ID: <491095BF.9090309@redhat.com> (raw)
In-Reply-To: <49107458.6030407@redhat.com>

David Smith wrote:
> William Cohen wrote:
>> David Smith wrote:
>>> William Cohen wrote:
> 
>> 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've never seen yum complain about installing kernel debuginfo for older
> kernels, but I also doubt I've done that operation much.  I might have a
> vague memory of that happening, if so I would have just removed the
> newer debuginfo by hand and run the script again.
> 
>> 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.
> 
> BTW, there is really no point in my keeping the older fc5/fc6 stuff in
> my script,  I just haven't bothered taking it out.
> 
> You can certainly see how I'm handling the fedora repos by looking at my
> script.
> 

Hi David,

I found that wildcard matching works for the --enablerepos, so I made a tweak so 
that it matches all debuginfo repos. The explicit version specified in rpm 
should avoid trying to pull in every possible kernel-devel, kernel-debuginfo 
rpm. The script works for fedora machines now with the bonus that the script is 
one line shorter. :) I did a git push so the script is available from the git repo.

-Will

      reply	other threads:[~2008-11-04 18:35 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-03 19:14 William Cohen
2008-11-04  6:57 ` K.Prasad
2008-11-04 15:49   ` William Cohen
2008-11-04 15:44 ` David Smith
2008-11-04 15:58   ` William Cohen
2008-11-04 16:13     ` David Smith
2008-11-04 18:35       ` William Cohen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=491095BF.9090309@redhat.com \
    --to=wcohen@redhat.com \
    --cc=dsmith@redhat.com \
    --cc=systemtap@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).