Re: [yocto] Getting a package PV from another

2019-07-02 Thread Gabriele Zampieri
Hi Mike,

thank you for your reply. The meta-layer that we use are locked (they won't
be changed once in production, so the git hash won't tell much about). I
need that information for tracking/distribution purposes, since I already
have a way to get it at runtime.

Gabriele

Il giorno lun 1 lug 2019 alle ore 15:23 Mike Looijmans <
mike.looijm...@topic.nl> ha scritto:

> The version of your OE layer is all the version that you'll ever
> (technically)
> need. That version (usually a git hash) dictates all other versions.
>
> When asked for version numbers of included packages, I always just dump
> the
> manifest file into their lap.
>
> You can also ask and report the version numbers at runtime (e.g. using
> opkg or
> dpkg). That also prevents lying to your users :)
>
> On 01-07-19 11:28, Gabriele Zampieri wrote:
> > Up, with more details:
> >
> > I have a top recipe that depends on *my-image:do_build*. I'd like to
> retrieve
> > the PV of a couple of packages (from that top recipe) that are used to
> mark
> > our custom software. Any suggestions?
> >
> > Gabriele
> >
> > Il giorno ven 28 giu 2019 alle ore 11:25 Gabriele Zampieri
> > mailto:gabbla.mal...@gmail.com>> ha scritto:
> >
> > Hi all,
> >
> > is there a way to get a specific package version from another?
> >
> > Best regards,
> > Gabriele
> >
> >
>
> --
> ___
> 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 a package PV from another

2019-07-01 Thread Mike Looijmans
The version of your OE layer is all the version that you'll ever (technically) 
need. That version (usually a git hash) dictates all other versions.

When asked for version numbers of included packages, I always just dump the 
manifest file into their lap.

You can also ask and report the version numbers at runtime (e.g. using opkg or 
dpkg). That also prevents lying to your users :)

On 01-07-19 11:28, Gabriele Zampieri wrote:
> Up, with more details:
> 
> I have a top recipe that depends on *my-image:do_build*. I'd like to retrieve 
> the PV of a couple of packages (from that top recipe) that are used to mark 
> our custom software. Any suggestions?
> 
> Gabriele
> 
> Il giorno ven 28 giu 2019 alle ore 11:25 Gabriele Zampieri 
> mailto:gabbla.mal...@gmail.com>> ha scritto:
> 
> Hi all,
> 
> is there a way to get a specific package version from another?
> 
> Best regards,
> Gabriele
> 
> 

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


Re: [yocto] Getting a package PV from another

2019-07-01 Thread Gabriele Zampieri
Up, with more details:

I have a top recipe that depends on *my-image:do_build*. I'd like to
retrieve the PV of a couple of packages (from that top recipe) that are
used to mark our custom software. Any suggestions?

Gabriele

Il giorno ven 28 giu 2019 alle ore 11:25 Gabriele Zampieri <
gabbla.mal...@gmail.com> ha scritto:

> Hi all,
>
> is there a way to get a specific package version from another?
>
> Best regards,
> Gabriele
>
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Getting a package PV from another

2019-06-28 Thread Gabriele Zampieri
Hi all,

is there a way to get a specific package version from another?

Best regards,
Gabriele
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto