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

2018-04-15 Thread Philip Balister
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
>  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
>>  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@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
>>
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


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

2018-04-13 Thread Zoran Stojsavljevic
Hello Ross,

I have a different idea for poky versioning. Since, who ever does classical
poky, one will have at least three layers there from your reference poky
distro:

---
Build Configuration:  |
---
DISTRO = poky
DISTRO_VERSION = 2.4
---
Layer Revisions:  |
---

Since you decided long time ago to track poky DISTRO_VERSION assignment
with meta-poky... And meta-poky is not one to be always included in the
layering, correct?

Assuming that, you can implant/embed the following 4 lines:
DISTRO = "poky"
DISTRO_NAME = "Poky (Yocto Project Reference Distro)"
DISTRO_VERSION = "2.4"
DISTRO_CODENAME = "rocko"

in ./meta/conf/distro/defaultsetup.conf in meta layer. You anyway always
clone meta layer from OpenEmbedded, and do your own SHA256 (which is always
different than OE meta original).

As such, the base (meta layer) will ALWAYS contain the DISTRO_VERSION
variable, which is the correct approach, since you will also tag with
DISTRO_VERSION the meta layer (there are different meta layers per
different distro versions, do you agree?).

And... Everyone needs meta layer (the base one), don't you agree as well?

Do not forget. Open Embedded original meta will stay untouched, ready to be
used for other distros (whatever these distros mean).

*If I think deeper, actually Open Embedded meta layer determines (at the
end of the day) DISTRO_CODENAME, doesn't it?* ;-)

Best Regards,
Zoran
___

On Thu, Apr 12, 2018 at 12:25 PM, Burton, Ross 
wrote:

> If your project also includes meta-poky then poky.conf will contain a
> DISTRO_VERSION assignment.  However,
> https://wiki.yoctoproject.org/wiki/Releases indicates that bitbake
> 1.32 was part of 2.2/morty.
>
> Ross
>
> On 12 April 2018 at 10:44, 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".
> >
> > Many thanks,
> > Richard.
> >
> >
> > --
> > ___
> > yocto mailing list
> > yocto@yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/yocto
> >
> --
> ___
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>


On Thu, Apr 12, 2018 at 12:25 PM, Burton, Ross 
wrote:

> If your project also includes meta-poky then poky.conf will contain a
> DISTRO_VERSION assignment.  However,
> https://wiki.yoctoproject.org/wiki/Releases indicates that bitbake
> 1.32 was part of 2.2/morty.
>
> Ross
>
> On 12 April 2018 at 10:44, 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".
> >
> > Many thanks,
> > Richard.
> >
> >
> > --
> > ___
> > yocto mailing list
> > yocto@yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/yocto
> >
> --
> ___
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>


On Thu, Apr 12, 2018 at 12:25 PM, Burton, Ross 
wrote:

> If your project also includes meta-poky then poky.conf will contain a
> DISTRO_VERSION assignment.  However,
> https://wiki.yoctoproject.org/wiki/Releases indicates that bitbake
> 1.32 was part of 2.2/morty.
>
> Ross
>
> On 12 April 2018 at 10:44, 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".
> >
> > Many thanks,
> > Richard.
> >
> >
> > --
> > ___
> > yocto mailing list
> > yocto@yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/yocto
> >
> --
> ___
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>


On Thu, Apr 12, 2018 at 12:25 PM, Burton, Ross 
wrote:

> If your project also includes meta-poky then poky.conf will contain a
> DISTRO_VERSION assignment.  However,
> https://wiki.yoctoproject.org/wiki/Releases indicates that bitbake
> 1.32 was part of 2.2/morty.
>
> Ross
>
> On 12 April 2018 at 10:44, Richard Collins
>  wrote:
> > 

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

2018-04-13 Thread Stefan Müller-Klieser
Hello Richard,

some of us are also around on the list.

You should find all documentation on the product page. Specifically, the
git tag of the release is "2.2.1-phy3" which indicates that the release
bundles poky morty 2.2.1. In future we will also have LAYERSERIES_COMPAT
set.

If the documentation leaves some open questions, you can also write us
directly.

Regards, Stefan

On 13.04.2018 09:59, Richard Collins wrote:
> Thanks for the help. :)
> 
> Yes they are Phytec boards. I have inherited the project from a 3rd party
> and so in the mids of chasing up the support contacts and our account
> details for their site. I'm sure you've all played the "Q) What are the
> support / login details? A) I don't know, ask X, ask Y, ask Z.,
> ask" development game. ;)
> 
> On 12 April 2018 at 19:45, Josef Holzmayr 
> wrote:
> 
>> On Thu, Apr 12, 2018 at 01:11:17PM +0100, Richard Collins wrote:
>>> I get the following for DISTRO.
>>>
>>> DISTRO= "yogurt"
>>> DISTRO_VERSION= "BSP-Yocto-RK3288-PD17.1.1"
>>>
>>
>> For further reference by anyone who is reading this in the archive: the
>> supplier is Phytec, and the distro layer is here:
>> https://git.phytec.de/meta-yogurt/
>>
>> Greetz
>> --
>> ———
>> Josef Holzmayr
>> Software Developer Embedded Systems
>>
>> Tel: +49 8444 9204-48
>> Fax: +49 8444 9204-50
>>
>> R-S-I Elektrotechnik GmbH & Co. KG
>> Woelkestrasse 11
>> D-85301 Schweitenkirchen
>> www.rsi-elektrotechnik.de
>> ———
>> Amtsgericht Ingolstadt – GmbH: HRB 191328 – KG: HRA 170393
>> Geschäftsführer: Dr.-Ing. Michael Sorg, Dipl.-Ing. Franz Sorg
>> Ust-IdNr: DE 128592548
>>
>> _
>> Amtsgericht Ingolstadt - GmbH: HRB 191328 - KG: HRA 170363
>> Geschäftsführer: Dr.-Ing. Michael Sorg, Dipl.-Ing. Franz Sorg
>> USt-IdNr.: DE 128592548
>>
>>
> 
> 
> 
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


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

2018-04-13 Thread Richard Collins
Thanks for the help. :)

Yes they are Phytec boards. I have inherited the project from a 3rd party
and so in the mids of chasing up the support contacts and our account
details for their site. I'm sure you've all played the "Q) What are the
support / login details? A) I don't know, ask X, ask Y, ask Z.,
ask" development game. ;)

On 12 April 2018 at 19:45, Josef Holzmayr 
wrote:

> On Thu, Apr 12, 2018 at 01:11:17PM +0100, Richard Collins wrote:
> > I get the following for DISTRO.
> >
> > DISTRO= "yogurt"
> > DISTRO_VERSION= "BSP-Yocto-RK3288-PD17.1.1"
> >
>
> For further reference by anyone who is reading this in the archive: the
> supplier is Phytec, and the distro layer is here:
> https://git.phytec.de/meta-yogurt/
>
> Greetz
> --
> ———
> Josef Holzmayr
> Software Developer Embedded Systems
>
> Tel: +49 8444 9204-48
> Fax: +49 8444 9204-50
>
> R-S-I Elektrotechnik GmbH & Co. KG
> Woelkestrasse 11
> D-85301 Schweitenkirchen
> www.rsi-elektrotechnik.de
> ———
> Amtsgericht Ingolstadt – GmbH: HRB 191328 – KG: HRA 170393
> Geschäftsführer: Dr.-Ing. Michael Sorg, Dipl.-Ing. Franz Sorg
> Ust-IdNr: DE 128592548
>
> _
> Amtsgericht Ingolstadt - GmbH: HRB 191328 - KG: HRA 170363
> Geschäftsführer: Dr.-Ing. Michael Sorg, Dipl.-Ing. Franz Sorg
> USt-IdNr.: DE 128592548
>
>
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


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

2018-04-12 Thread Josef Holzmayr
On Thu, Apr 12, 2018 at 01:11:17PM +0100, Richard Collins wrote:
> I get the following for DISTRO.
> 
> DISTRO= "yogurt"
> DISTRO_VERSION= "BSP-Yocto-RK3288-PD17.1.1"
> 

For further reference by anyone who is reading this in the archive: the
supplier is Phytec, and the distro layer is here: 
https://git.phytec.de/meta-yogurt/

Greetz
-- 
———
Josef Holzmayr
Software Developer Embedded Systems

Tel: +49 8444 9204-48
Fax: +49 8444 9204-50

R-S-I Elektrotechnik GmbH & Co. KG
Woelkestrasse 11
D-85301 Schweitenkirchen
www.rsi-elektrotechnik.de
———
Amtsgericht Ingolstadt – GmbH: HRB 191328 – KG: HRA 170393
Geschäftsführer: Dr.-Ing. Michael Sorg, Dipl.-Ing. Franz Sorg
Ust-IdNr: DE 128592548 

_
Amtsgericht Ingolstadt - GmbH: HRB 191328 - KG: HRA 170363
Geschäftsführer: Dr.-Ing. Michael Sorg, Dipl.-Ing. Franz Sorg
USt-IdNr.: DE 128592548

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


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

2018-04-12 Thread Alexander Kanavin

On 04/12/2018 03:11 PM, Richard Collins 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)


This is probably coming from meta-yogurt layer provided by a company 
called Phytec. Looking at their git repository, they have branches for 
all Yocto releases, so you could probably start by looking at that. 
Generally, Phytec should be your support channel :)


Alex
--
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


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

2018-04-12 Thread Burton, Ross
That is an excellent suggestion, yes.

Ross

On 12 April 2018 at 13:54, Martin Jansa  wrote:
> Cannot LAYERSERIES_CORENAMES added in rocko be used for that?
>
> On Thu, Apr 12, 2018 at 2:47 PM, 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
>>  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
>> >  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@yoctoproject.org
>> > https://lists.yoctoproject.org/listinfo/yocto
>> >
>> --
>> ___
>> yocto mailing list
>> yocto@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
>
>
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


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

2018-04-12 Thread Martin Jansa
Cannot LAYERSERIES_CORENAMES added in rocko be used for that?

On Thu, Apr 12, 2018 at 2:47 PM, 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
>  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
> >  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@yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/yocto
> >
> --
> ___
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


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

2018-04-12 Thread Burton, Ross
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
 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
>  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@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


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

2018-04-12 Thread Richard Collins
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.kana...@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@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


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

2018-04-12 Thread Alexander Kanavin

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@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


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

2018-04-12 Thread Burton, Ross
If your project also includes meta-poky then poky.conf will contain a
DISTRO_VERSION assignment.  However,
https://wiki.yoctoproject.org/wiki/Releases indicates that bitbake
1.32 was part of 2.2/morty.

Ross

On 12 April 2018 at 10:44, 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".
>
> Many thanks,
> Richard.
>
>
> --
> ___
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto