[oe-commits] Tom Rini : var_src_uri.xml: Update the git entry to include branch and SRCREV

git version control git at git.openembedded.org
Wed Apr 14 22:19:29 UTC 2010


Module: openembedded.git
Branch: shr/unstable
Commit: 76cf00c745b2be7c39fb0d966959948adeab1801
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=76cf00c745b2be7c39fb0d966959948adeab1801

Author: Tom Rini <tom_rini at mentor.com>
Date:   Wed Apr 14 14:39:16 2010 -0700

var_src_uri.xml: Update the git entry to include branch and SRCREV

Signed-off-by: Tom Rini <tom_rini at mentor.com>

---

 docs/usermanual/reference/var_src_uri.xml |   28 ++++++++++++++++++++++++----
 1 files changed, 24 insertions(+), 4 deletions(-)

diff --git a/docs/usermanual/reference/var_src_uri.xml b/docs/usermanual/reference/var_src_uri.xml
index f6e6105..bc49571 100644
--- a/docs/usermanual/reference/var_src_uri.xml
+++ b/docs/usermanual/reference/var_src_uri.xml
@@ -447,21 +447,31 @@ SRC_URI[sha256sum] = &quot;36bdb85c97b39ac604bc58cb7857ee08295242c78a12848ef8a31
 
     <variablelist>
       <varlistentry>
-        <term>tag</term>
+        <term>branch</term>
 
         <listitem>
-          <para>The tag to retrieve. The default is
+          <para>The git branch to retrieve from. The default is
           <command>"master"</command>.</para>
         </listitem>
       </varlistentry>
 
+        <term>tag</term>
+
+        <listitem>
+          <para>The git tag to retrieve. The default is
+	  <command>"master"</command>.  This may be placed into
+          <command>SRCREV</command> instead.</para>
+        </listitem>
+      </varlistentry>
+
       <varlistentry>
         <term>protocol</term>
 
         <listitem>
           <para>The method to use to access the repository. Common options are
-          <command>"git"</command> and <command>"rsync"</command>. The default
-          is <command>"rsync"</command>.</para>
+          <command>"git"</command>, <command>"http"</command> and
+	  <command>"rsync"</command>. The default is
+          <command>"rsync"</command>.</para>
         </listitem>
       </varlistentry>
     </variablelist>
@@ -470,6 +480,16 @@ SRC_URI[sha256sum] = &quot;36bdb85c97b39ac604bc58cb7857ee08295242c78a12848ef8a31
 
     <para><variablelist>
         <varlistentry>
+          <term>SRCREV</term>
+
+          <listitem>
+            <para>The revision of the git source to be checked out.
+	    The default is <command>1</command> which is invalid and leads to
+            an error.</para>
+          </listitem>
+        </varlistentry>
+
+        <varlistentry>
           <term>GITDIR</term>
 
           <listitem>





More information about the Openembedded-commits mailing list