[oe-commits] org.oe.documentation common_use_cases.xml: add a chapter about how to use svn/cvs in a bb file properly.

Laibsch commit openembedded-commits at lists.openembedded.org
Tue Feb 26 16:18:02 UTC 2008


common_use_cases.xml: add a chapter about how to use svn/cvs in a bb file properly.

Author: Laibsch at openembedded.org
Branch: org.openembedded.documentation
Revision: 64b95f1878ea8c82433db9c21cef7267916c9113
ViewMTN: http://monotone.openembedded.org/revision/info/64b95f1878ea8c82433db9c21cef7267916c9113
Files:
1
usermanual/chapters/common_use_cases.xml
Diffs:

#
# mt diff -r868100b2acdd3e0354d5e5b0c6670e2b77131061 -r64b95f1878ea8c82433db9c21cef7267916c9113
#
# 
# 
# patch "usermanual/chapters/common_use_cases.xml"
#  from [84884ca6faf768f5a8f2ba0b4250b58b20e2cd81]
#    to [41b43f383fed50a24e5cb144c2450db28f44a233]
# 
============================================================
--- usermanual/chapters/common_use_cases.xml	84884ca6faf768f5a8f2ba0b4250b58b20e2cd81
+++ usermanual/chapters/common_use_cases.xml	41b43f383fed50a24e5cb144c2450db28f44a233
@@ -99,7 +99,28 @@ SRCDATE = "20061014"
   <section id="commonuse_new_package">
     <title>Adding a new Package</title>
 
-    <para>This section is a stub, help us by expanding it</para>
+    <para>This section is a stub, help us by expanding it.  Learn by example, go through the
+    recipes that are already there and mimic them to do what you want.</para>
+
+    <section>
+        <title>building from unstable source code</title>
+        <para>Building against the latest, bleeding-edge source has some intricacies of its own.
+        For one, it is desirable to pin down a souce code revision that is known to build to 
+        prevent random breakage in OE at the most inopportune time for all OE users.  Here is
+        how to do that properly.
+          <itemizedlist>
+            <listitem>for svn: add 'PV = "1.1+svnr${SRCREV}"' to your bb file.</listitem>
+            <listitem>for cvs: add 'PV = "1.1+cvs${SRCREV}"' to your bb file.</listitem>
+          </itemizedlist>
+        Accompany either with an entry to conf/sane-srcrevs.inc for a revision that you know
+        builds successfully.
+        </para>
+        <para>
+        If you really absolutely have to follow the latest commits, you can do that by adding
+        'SRCREV_pn-linux-davinci ?= ${AUTOREV}' to your local.conf, for example.  In this case,
+        you'd build against the most recent and unstable source for the pn-linux-davinci package.
+        </para>
+    </section>
   </section>
 
   <section id="commonuse_new_image">






More information about the Openembedded-commits mailing list