[yocto] Setting PV dynamically in a recipe
Brad Litterell
brad at evidence.com
Tue Dec 17 11:46:11 PST 2013
Hi Zhenhua,
Thank you for the reply. However, That's not what I'm looking for. I already get the latest version of the source code.
What I'm really after is the ability to generate output packages that have increasing version numbers so I can use the package manager to update them.
I think Martin's subsequent reply is the secret to use PKGV. I didn't know about that variable.
Cheers,
Brad
________________________________________
From: zhenhua.luo at freescale.com [zhenhua.luo at freescale.com]
Sent: Tuesday, December 17, 2013 1:41 AM
To: Brad Litterell
Cc: yocto at yoctoproject.org
Subject: RE: Setting PV dynamically in a recipe
AUTOREV might be what you are looking for.
http://www.yoctoproject.org/docs/current/ref-manual/ref-manual.html#var-AUTOREV
Best Regards,
Zhenhua
> -----Original Message-----
> From: yocto-bounces at yoctoproject.org [mailto:yocto-
> bounces at yoctoproject.org] On Behalf Of Brad Litterell
> Sent: Tuesday, December 17, 2013 4:17 PM
> To: yocto at yoctoproject.org
> Subject: [yocto] Setting PV dynamically in a recipe
>
> Hi,
>
> I have a few recipes in my image that represent my own custom code. I
> would like to generate PV dynamically from my source code, but since the
> recipe is parsed before the code is extracted from the tarball, that's
> not easy to do.
>
> The Poky reference manual implies this is possible:
> PV is generally not overridden within a recipe unless it is building an
> unstable (i.e. development) version from a source code repository (e.g.
> Git or Subversion).
>
> However, I have not found an actual example. Is there a recommended way
> to do this?
>
> Thanks,
> Brad
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
More information about the yocto
mailing list