From b80943fc47503eb4c6650b7ddd9518a30e1fad85 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Mon, 24 Mar 2014 17:17:43 -0600 Subject: dev-manual: Added notes saying you need to work from same branches Fixes [YOCTO #4601] Added a couple notes saying that you need to be in matching branches for meta-intel and poky. (From yocto-docs rev: 02bd63829b1d98f21183a10707753e9767bfe68e) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/dev-manual/dev-manual-newbie.xml | 27 +++++++++++++++----- documentation/dev-manual/dev-manual-start.xml | 35 ++++++++++++++++++++------ 2 files changed, 48 insertions(+), 14 deletions(-) diff --git a/documentation/dev-manual/dev-manual-newbie.xml b/documentation/dev-manual/dev-manual-newbie.xml index 77c14a6611..1245345cc4 100644 --- a/documentation/dev-manual/dev-manual-newbie.xml +++ b/documentation/dev-manual/dev-manual-newbie.xml @@ -431,12 +431,27 @@ poky repository or any supported BSP tarballs. Unpacking these tarballs gives you a snapshot of the released files. - - The recommended method for setting up the Yocto Project - Source Directory and the - files for supported BSPs (e.g., meta-intel) is to - use Git to create a local copy of the - upstream repositories. + Notes + + + The recommended method for setting up the Yocto Project + Source Directory + and the files for supported BSPs + (e.g., meta-intel) is to use + Git to create a local copy of + the upstream repositories. + + + Be sure to always work in matching branches for both + the meta-intel repository and the + Source Directory + (i.e. poky) repository. + For example, if you have checked out the "master" branch + of poky and you are going to use + meta-intel, be sure to checkout the + "master" branch of meta-intel. + + diff --git a/documentation/dev-manual/dev-manual-start.xml b/documentation/dev-manual/dev-manual-start.xml index deea5a7610..6ab93f79cf 100644 --- a/documentation/dev-manual/dev-manual-start.xml +++ b/documentation/dev-manual/dev-manual-start.xml @@ -187,8 +187,7 @@ Receiving objects: 100% (727/727), 536.36 KiB | 240 KiB/s, done. Resolving deltas: 100% (260/260), done. - Supported Board - Support Packages (BSPs): + Supported Board Support Packages (BSPs): The Yocto Project provides a layer called meta-intel and it is maintained in its own separate Git repository. @@ -196,6 +195,7 @@ supported BSP Layers. + The Yocto Project uses the following BSP layer naming scheme: @@ -212,12 +212,18 @@ See the "BSP Layers" section in the Yocto Project Board Support Package (BSP) - Developer's Guide for more information on BSP Layers. - You can locate the meta-intel Git + Developer's Guide for more information on BSP Layers. + + + + You can locate the meta-intel Git repository in the "Yocto Metadata Layers" area of the Yocto Project Source Repositories at - . - Using + . + + + + Using Git to create a local clone of the upstream repository can be helpful if you are working with BSPs. @@ -225,6 +231,16 @@ Git repository inside the Source Directory. For example, the following transcript shows the steps to clone meta-intel. + + Be sure to work in the meta-intel + branch that matches your + Source Directory + (i.e. poky) branch. + For example, if you have checked out the "master" branch + of poky and you are going to use + meta-intel, be sure to checkout the + "master" branch of meta-intel. + $ cd ~/poky $ git clone git://git.yoctoproject.org/meta-intel.git @@ -234,8 +250,11 @@ remote: Total 8844 (delta 4931), reused 8780 (delta 4867) Receiving objects: 100% (8844/8844), 2.48 MiB | 264 KiB/s, done. Resolving deltas: 100% (4931/4931), done. - - The same + + + + + The same wiki page referenced earlier covers how to set up the meta-intel Git repository. -- cgit v1.2.3-54-g00ecf