[bitbake-devel] [PATCH 0/2] bitbake: fetch2: Add sanity check for SHA validity of tag and adjust SHA define order

Zhenhua Luo zhenhua.luo at freescale.com
Tue Dec 24 08:06:31 UTC 2013


* Add the sanity check for SHA valididy when tag is defined in SRC_URI,
the check is useful for rebased git tree in which the referred commit is not valid
in branch and is saved in tag.

* To allign with above change, the priority of revision needs to be adjusted as
following, otherwise SHA defined by SRCREV will be overriden by rev/tag defined
by SRC_URI.
  a) a source revision if SHA is specified by SRCREV
  b) a source revision if revision is specified in SRC_URI
  c) latest revision if SRCREV="AUTOINC"
  d) None if not specified

Zhenhua Luo (2):
  bitbake: fetch2/git: Add sanity check for SHA validity of tag
  bitbake: fetch2: adjust the priority of revision definition

 lib/bb/fetch2/__init__.py | 19 ++++++++++---------
 lib/bb/fetch2/git.py      | 29 +++++++++++++++++++++++++++--
 2 files changed, 37 insertions(+), 11 deletions(-)

-- 
1.8.4.2





More information about the bitbake-devel mailing list