All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paul Eggleton <paul.eggleton@linux.intel.com>
To: Andrei Dinu <andrei.adrianx.dinu@intel.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: is there a variable where the kernel version is stored?
Date: Fri, 26 Jul 2013 13:39:38 +0100	[thread overview]
Message-ID: <2661953.CXEvbvU0xy@helios> (raw)
In-Reply-To: <51F26B86.5020309@intel.com>

Hi Andrei,

On Friday 26 July 2013 15:28:54 Andrei Dinu wrote:
> I'm having a problem trying to run Bastille. Seems like the kernel
> version has changed from 3.8.11 to 3.8.13 and
> in order to run Bastille, i need to patch a file used by the tool to
> check the version of the system. It was previously
> patched with linux-yocto-3.8.11 version, but now it has changed to
> linux-yocto-3.8.13 and the tool doesn't work
> because it doesn't identify the right version of the kernel.
> 
> Is there a way to find out the kernel version at build time so i can
> replace it dynamically in that specific file?

Hmm, so if you add a DEPENDS on virtual/kernel you should be able to rely on 
the contents of ${STAGING_KERNEL_DIR}/kernel-abiversion - have a look at what 
meta/classes/module.bbclass does with this.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre


  reply	other threads:[~2013-07-26 12:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-26 12:28 is there a variable where the kernel version is stored? Andrei Dinu
2013-07-26 12:39 ` Paul Eggleton [this message]
2013-07-26 12:42   ` Andrei Dinu

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=2661953.CXEvbvU0xy@helios \
    --to=paul.eggleton@linux.intel.com \
    --cc=andrei.adrianx.dinu@intel.com \
    --cc=openembedded-core@lists.openembedded.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.