[oe] Package build failure

Martin Jansa martin.jansa at gmail.com
Thu Apr 5 09:16:58 UTC 2012


On Thu, Apr 05, 2012 at 09:52:59AM +0100, Paul Eggleton wrote:
> On Thursday 05 April 2012 10:47:05 Samuel Stirtzel wrote:
> > So if the recipe states:
> > -
> > SRC_URI = "git://anongit.kde.org/calligra.git;protocol=git;branch=master"
> > SRCREV = "92ff51b5c0f388729f466041b34ab165a7d80987"
> > PV = "2.3.87+git${SRCPV}"
> > -
> > 
> > Will it still look up the remote SRCPV instead of using the SRCREV?
> > Is there a "best practice" or something like that?
> 
> No, if the SRCREV is a full commit hash as above then it will not look it up 
> remotely.

If you set BB_GIT_CLONE_FOR_SRCREV, then it will behave
like that and use rev-list to count revisions (for LOCALCOUNT):
output = runfetchcmd("%s rev-list %s -- 2> /dev/null | wc -l" % (ud.basecmd, rev), d, quiet=True)

without BB_GIT_CLONE_FOR_SRCREV it will use
tmp-eglibc/cache/bb_persist_data.sqlite3
to get LOCALCOUNT value

Cheers,

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20120405/0bf6b7ea/attachment-0002.sig>


More information about the Openembedded-devel mailing list