[yocto] Getting the version of Yocto that is being used.

Philip Balister philip at balister.org
Sun Apr 15 14:04:25 PDT 2018


I like:

https://git.yoctoproject.org/cgit.cgi/poky/plain/meta/classes/image-buildinfo.bbclass

Philip

On 04/12/2018 08:47 AM, Burton, Ross wrote:
> I think the message here is that we need to embed the oe-core version
> in the metadata somewhere...
> 
> On 12 April 2018 at 13:11, Richard Collins
> <richard.collins at guidedknowledge.com> wrote:
>> I get the following for DISTRO.
>>
>> DISTRO            = "yogurt"
>> DISTRO_VERSION    = "BSP-Yocto-RK3288-PD17.1.1"
>>
>> Can't find any reference to yogurt so I assume this is something the
>> supplier of our SOM's has done. Looking on their Wiki it seems to be based
>> on 2.1.2 (Krogoth)
>>
>>
>> Thanks for the help. :)
>>
>> On 12 April 2018 at 11:21, Alexander Kanavin
>> <alexander.kanavin at linux.intel.com> wrote:
>>>
>>> On 04/12/2018 12:44 PM, Richard Collins wrote:
>>>>
>>>> I've inherited a Yocto project that I know to be an old version. So one
>>>> of my tasks is to update to the latest version. Before I do this I would
>>>> like to know what version I have. The only information I can find is the
>>>> bitbake version, BB_VERSION        = "1.32.0".
>>>
>>>
>>> When you run bitbake, it should also print the values of DISTRO and
>>> DISTRO_VERSION. Those should give a clue where you are at.
>>>
>>> Alex
>>
>>
>>
>> --
>> _______________________________________________
>> yocto mailing list
>> yocto at yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
>>



More information about the yocto mailing list