All of lore.kernel.org
 help / color / mirror / Atom feed
From: Steve Wise <swise-7bPotxP6k4+P2YhJcF5u+vpXobYPEAuW@public.gmane.org>
To: "Robert D. Russell" <rdr-zcUZCMB5SQOVc3sceRu5cw@public.gmane.org>
Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: getting path to backport directory
Date: Tue, 29 Sep 2009 16:05:09 -0500	[thread overview]
Message-ID: <4AC27685.4010801@opengridcomputing.com> (raw)
In-Reply-To: <Pine.LNX.4.64.0909291613310.13129-yQ+R4xhlqLEyozb/sh1beDe48wsgrGvP@public.gmane.org>


If you have a configured ofa_kernel tree, then look at 
<path_to_ofa_kernel>/config.mk.  It contains the backport path.

Steve.


Robert D. Russell wrote:
>
> A general question on getting the correct backport.
>
> On my machine, if I do "uname -r" I get
> 2.6.18-128.el5
>
> If I do "cat /etc/redhat-release" I get
> CentOs release 5.3 (Final)
>
> If I look in "/usr/src/ofa_kernel/kernel_addons/backport"
> the subdirectory I need to use for the current kernel is:
> 2.6.18-EL5.3
>
> My question:  Is there somewhere in the system where I can
> find (or generate) the string "2.6.18-EL5.3"?
> I want to put that in my scripts so they will automatically
> pick it up whenever we change versions (as we just did when
> going to Centos -- it used to be 2.6.18-EL5.2 in the RedHat
> version we were running before).  At present I have to edit
> these scripts by hand, and that's a lousy way to do business.
>
> Thanks,
> Bob Russell
>
> -- 
> To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
> the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2009-09-29 21:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-29 20:15 getting path to backport directory Robert D. Russell
     [not found] ` <Pine.LNX.4.64.0909291613310.13129-yQ+R4xhlqLEyozb/sh1beDe48wsgrGvP@public.gmane.org>
2009-09-29 21:05   ` Steve Wise [this message]
2009-09-29 21:47   ` John A. Gregor
     [not found]     ` <4ac28072.jEyJX+IRBrF1KkkL%john.gregor-h88ZbnxC6KDQT0dZR+AlfA@public.gmane.org>
2009-09-30  8:35       ` Guy Coates

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=4AC27685.4010801@opengridcomputing.com \
    --to=swise-7bpotxp6k4+p2yhjcf5u+vpxobypeauw@public.gmane.org \
    --cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=rdr-zcUZCMB5SQOVc3sceRu5cw@public.gmane.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.