path: root/meta
diff options
authorPaul Eggleton <>2011-06-21 17:13:28 (GMT)
committerRichard Purdie <>2011-06-22 15:20:26 (GMT)
commit3b79156be8300ebf348e6a8e14c8e7facd66a5b6 (patch)
tree9c328feb14c37aecda4c8dc042fd86e08a49ed76 /meta
parent2163461ec94528ecf046a04edc5db3d2dd3a6b8b (diff)
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] (From OE-Core rev: 04fe616bec7416b5aea55dad6896700652796239) Signed-off-by: Paul Eggleton <> Signed-off-by: Richard Purdie <>
Diffstat (limited to 'meta')
1 files changed, 5 insertions, 2 deletions
diff --git a/meta/recipes-bsp/uboot/ b/meta/recipes-bsp/uboot/
index 07f0609..34655ea 100644
--- a/meta/recipes-bsp/uboot/
+++ b/meta/recipes-bsp/uboot/
@@ -12,9 +12,12 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb \
12 12
13FILESDIR = "${@os.path.dirname('FILE',d,1))}/u-boot-git/${MACHINE}" 13FILESDIR = "${@os.path.dirname('FILE',d,1))}/u-boot-git/${MACHINE}"
14 14
15SRCREV = "v2011.03" 15# This revision corresponds to the tag "v2011.03"
16# We use the revision in order to avoid having to fetch it from the repo during parse
17SRCREV = "19b54a701811220221fc4d5089a2bb18892018ca"
16PV = "v2011.03+git${SRCPV}" 19PV = "v2011.03+git${SRCPV}"
17PR="r4" 20PR = "r5"
18 21
19SRC_URI = "git://;branch=master;protocol=git" 22SRC_URI = "git://;branch=master;protocol=git"
20 23