Patchwork [bitbake-devel] bitbake: fetch2/git: add description for nobranch

login
register
mail settings
Submitter Zhenhua Luo
Date Jan. 8, 2014, 10:17 a.m.
Message ID <1389176228-5336-1-git-send-email-zhenhua.luo@freescale.com>
Download mbox | patch
Permalink /patch/64415/
State New
Headers show

Comments

Zhenhua Luo - Jan. 8, 2014, 10:17 a.m.
Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
---
 lib/bb/fetch2/git.py | 5 +++++
 1 file changed, 5 insertions(+)

Patch

diff --git a/lib/bb/fetch2/git.py b/lib/bb/fetch2/git.py
index c323309..cae1653 100644
--- a/lib/bb/fetch2/git.py
+++ b/lib/bb/fetch2/git.py
@@ -44,6 +44,11 @@  Supported SRC_URI options are:
    checkout code and tracking branch requirements.
    The default is "0", set bareclone=1 if needed.
 
+- nobranch
+   Don't check the SHA validation for branch. set this option for the recipe
+   referring to commit which is valid in tag instead of branch.
+   The default is "0", set nobranch=1 if needed.
+
 """
 
 #Copyright (C) 2005 Richard Purdie