* is there a variable where the kernel version is stored?
@ 2013-07-26 12:28 Andrei Dinu
2013-07-26 12:39 ` Paul Eggleton
0 siblings, 1 reply; 3+ messages in thread
From: Andrei Dinu @ 2013-07-26 12:28 UTC (permalink / raw)
To: openembedded-core
Hello,
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?
Thanks in advance,
Andrei Dinu
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: is there a variable where the kernel version is stored?
2013-07-26 12:28 is there a variable where the kernel version is stored? Andrei Dinu
@ 2013-07-26 12:39 ` Paul Eggleton
2013-07-26 12:42 ` Andrei Dinu
0 siblings, 1 reply; 3+ messages in thread
From: Paul Eggleton @ 2013-07-26 12:39 UTC (permalink / raw)
To: Andrei Dinu; +Cc: openembedded-core
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: is there a variable where the kernel version is stored?
2013-07-26 12:39 ` Paul Eggleton
@ 2013-07-26 12:42 ` Andrei Dinu
0 siblings, 0 replies; 3+ messages in thread
From: Andrei Dinu @ 2013-07-26 12:42 UTC (permalink / raw)
To: Paul Eggleton; +Cc: openembedded-core
On 07/26/2013 03:39 PM, Paul Eggleton wrote:
> 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.
Thanks!
>
> Cheers,
> Paul
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-07-26 12:42 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-26 12:28 is there a variable where the kernel version is stored? Andrei Dinu
2013-07-26 12:39 ` Paul Eggleton
2013-07-26 12:42 ` Andrei Dinu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox