From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1496 invoked by alias); 4 Nov 2008 18:35:49 -0000 Received: (qmail 1433 invoked by uid 22791); 4 Nov 2008 18:35:48 -0000 X-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,KAM_MX,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 04 Nov 2008 18:35:01 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id mA4IYeEI023897 for ; Tue, 4 Nov 2008 13:34:40 -0500 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id mA4IYeXr004000 for ; Tue, 4 Nov 2008 13:34:40 -0500 Received: from localhost.localdomain (dhcp231-126.rdu.redhat.com [10.11.231.126]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id mA4IYdCj019859; Tue, 4 Nov 2008 13:34:39 -0500 Message-ID: <491095BF.9090309@redhat.com> Date: Tue, 04 Nov 2008 18:35:00 -0000 From: William Cohen User-Agent: Thunderbird 2.0.0.16 (X11/20080723) MIME-Version: 1.0 To: David Smith CC: SystemTAP Subject: Re: Simple script to grab and install the appropriate kernel RPMs References: <490F4D6C.2030200@redhat.com> <49106DAD.2010105@redhat.com> <491070EE.2040901@redhat.com> <49107458.6030407@redhat.com> In-Reply-To: <49107458.6030407@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.58 on 172.16.52.254 X-IsSubscribed: yes Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org X-SW-Source: 2008-q4/txt/msg00265.txt.bz2 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