]> code.ossystems Code Review - openembedded-core.git/commit
u-boot: set SRCREV to a git revision instead of a tag reference
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Tue, 21 Jun 2011 17:13:28 +0000 (18:13 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 22 Jun 2011 15:20:03 +0000 (16:20 +0100)
commit04fe616bec7416b5aea55dad6896700652796239
treedb76bf953f0ee39ca2d8a93d0a538d9a574ba897
parent835d817f1ba7b99167743fdb86ba80f3a07bd82d
u-boot: set SRCREV to a git revision instead of a tag reference

If we use a tag here then bitbake has to connect to the repository to find
out the corresponding revision (so it can expand SRCPV which is part of PV,
which amongst other things is needed to determine whether or not the
package has to be rebuilt.) This occurs at parse time; on machines behind a
firewall or with no network access this can be a problem.

We wish to avoid unnecessary network accesses and network access in our
default configuration during parse time is even worse. Substituting the
git revision corresponding to the tag prevents bitbake from having to
contact the remote repository in order to expand PV.

Addresses [YOCTO #1186]

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
meta/recipes-bsp/uboot/u-boot_2011.03.bb