[yocto] Getting a package PV from another

Gabriele Zampieri gabbla.malist at gmail.com
Tue Jul 2 02:05:45 PDT 2019


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.looijmans at 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
> > <gabbla.malist at gmail.com <mailto:gabbla.malist at 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 at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20190702/13c0c0a8/attachment.html>


More information about the yocto mailing list