summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Rifenbark <scott.m.rifenbark@intel.com>2014-04-23 11:35:25 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-04-23 21:11:08 +0100
commit68ef727cdcef439e9bfc57996f3cebfc0e07789e (patch)
tree684b0d4a0e6a66863f889df44a60a3931d99199a
parent4b5e855670bddb0ffc4cc7b24005e53e3eefcd69 (diff)
downloadpoky-68ef727cdcef439e9bfc57996f3cebfc0e07789e.tar.gz
ref-manual: Added new section to the 1.6 migration section plus some 1.5 edits.
Added a new section on "Matching Branch Requirement for Git Fetching" into the BitBake section. Plus, made some minor corrections to some of the 1.5 sections. (From yocto-docs rev: 326a8009ca0bef0a4686510bb521010d8f58ac81) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--documentation/ref-manual/migration.xml31
1 files changed, 28 insertions, 3 deletions
diff --git a/documentation/ref-manual/migration.xml b/documentation/ref-manual/migration.xml
index 0f0e8b06a9..7cefa5ebf4 100644
--- a/documentation/ref-manual/migration.xml
+++ b/documentation/ref-manual/migration.xml
@@ -829,10 +829,10 @@
829 </section> 829 </section>
830 830
831 <section id='migration-1.5-run'> 831 <section id='migration-1.5-run'>
832 <title><filename>run</filename></title> 832 <title><filename>/run</filename></title>
833 833
834 <para> 834 <para>
835 The <filename>run</filename> directory from the Filesystem 835 The <filename>/run</filename> directory from the Filesystem
836 Hierarchy Standard 3.0 has been introduced. 836 Hierarchy Standard 3.0 has been introduced.
837 You can find some of the implications for this change 837 You can find some of the implications for this change
838 <ulink url='http://cgit.openembedded.org/openembedded-core/commit/?id=0e326280a15b0f2c4ef2ef4ec441f63f55b75873'>here</ulink>. 838 <ulink url='http://cgit.openembedded.org/openembedded-core/commit/?id=0e326280a15b0f2c4ef2ef4ec441f63f55b75873'>here</ulink>.
@@ -878,7 +878,7 @@
878 <para> 878 <para>
879 The previously deprecated <filename>task.bbclass</filename> has 879 The previously deprecated <filename>task.bbclass</filename> has
880 now been dropped. 880 now been dropped.
881 For recipes that previously inherited from this task, you should 881 For recipes that previously inherited from this class, you should
882 rename them from <filename>task-*</filename> to 882 rename them from <filename>task-*</filename> to
883 <filename>packagegroup-*</filename> and inherit packagegroup 883 <filename>packagegroup-*</filename> and inherit packagegroup
884 instead. 884 instead.
@@ -1150,6 +1150,31 @@
1150 <ulink url='&YOCTO_DOCS_DEV_URL;#bitbake-term'>BitBake</ulink>. 1150 <ulink url='&YOCTO_DOCS_DEV_URL;#bitbake-term'>BitBake</ulink>.
1151 </para> 1151 </para>
1152 1152
1153 <section id='migration-1.6-matching-branch-requirement-for-git-fetching'>
1154 <title>Matching Branch Requirement for Git Fetching</title>
1155
1156 <para>
1157 When fetching source from a Git repository using
1158 <link linkend='var-SRC_URI'><filename>SRC_URI</filename></link>,
1159 BitBake will now validate the
1160 <link linkend='var-SRCREV'><filename>SRCREV</filename></link>
1161 value against the branch.
1162 You can specify the branch using the following form:
1163 <literallayout class='monospaced'>
1164 SRC_URI = "git://server.name/repository;branch=&lt;branchname&gt;"
1165 </literallayout>
1166 If you do not specify a branch, BitBake looks
1167 in the default "master" branch.
1168 </para>
1169
1170 <para>
1171 Alternatively, if you need to bypass this check (e.g.
1172 if you are fetching a revision corresponding to a tag that
1173 is not on any branch), you can add ";nobranch=1" to
1174 the end of the URL within <filename>SRC_URI</filename>.
1175 </para>
1176 </section>
1177
1153 <section id='migration-1.6-bitbake-deps'> 1178 <section id='migration-1.6-bitbake-deps'>
1154 <title>Python Definition substitutions</title> 1179 <title>Python Definition substitutions</title>
1155 1180