[OE-core] [oe-core][v2][PATCH 1/1] build-compare: add date to PV

Slater, Joseph joe.slater at windriver.com
Fri Mar 17 01:21:25 UTC 2017



> -----Original Message-----
> From: Richard Purdie [mailto:richard.purdie at linuxfoundation.org]
> Sent: Thursday, March 16, 2017 3:14 PM
> To: Slater, Joseph; openembedded-core at lists.openembedded.org
> Subject: Re: [OE-core] [oe-core][v2][PATCH 1/1] build-compare: add date to PV
> 
> On Thu, 2017-03-16 at 17:28 +0000, Slater, Joseph wrote:
> > Given that PV for *_git recipes should now be specified and
> > start with a version, it would be nice to shorten (or eliminate)
> > SRCPV.  At least get rid of the AUTOINC.  Perhaps shorten the
> > amount of SRCREV included.  The point is that as currently
> > computed, PV will be far longer than the useful information
> > it provides.
> 
> I thought we already did?
> 
> e.g. for the kernel you see packages like:
> 
> kernel-module-xt-u32-4.10.0-yocto-standard_4.10+git0+805ea440c7_b259a5d744-
> r0.30_qemux86_64.ipk
> 
> which has several shortened hashes in it.

I guess it matters where you look.  For things like rpm's you see "...+git0+...".  For things
like items generated by the archiver you see "...+gitAUTOINC+...".  In either case, the
characters appended to "git" do not seem to be useful.  And, since the 805... and b25...
hashes are just anecdotal because the <version>-yocto determines version sequence, they could
be much shorter.

Joe

> 
> Cheers,
> 
> Richard


More information about the Openembedded-core mailing list