From d14ab10f5bf762955931d519e1e059366cafb8a6 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Wed, 10 Aug 2011 14:19:31 -0700 Subject: documentation/dev-manual/dev-manual-start.xml: split out poky-extras I separated the section that explains how to set up the poky-extras git repository. This used to be in the kernel area right after creating the bare clone and the copy of the bare clone. I thought it would be better as a stand-alone bulleted item. (From yocto-docs rev: 4ea917c7218f238e2b0d2bb377a97f4b1f5eb1f6) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/dev-manual/dev-manual-start.xml | 34 +++++++++++++++++++-------- 1 file changed, 24 insertions(+), 10 deletions(-) (limited to 'documentation/dev-manual/dev-manual-start.xml') diff --git a/documentation/dev-manual/dev-manual-start.xml b/documentation/dev-manual/dev-manual-start.xml index 822731af90..52be498b44 100644 --- a/documentation/dev-manual/dev-manual-start.xml +++ b/documentation/dev-manual/dev-manual-start.xml @@ -109,10 +109,15 @@ If you are going to be making modifications to a supported Linux Yocto kernel you need to get set up so that you can edit local copies of the source. This setup involves creating a bare clone of the Linux Yocto kernel and then cloning - that repository. + that repository. + You can create the bare clone and the copy of the bare clone anywhere you like. + For simplicity, it is recommended that you create these structures outside of the + Yocto Project files Git repository. As an example, the following transcript shows how to create the bare clone - of the linux-yocto-2.6.37 kernel and then create a clone of - that repository: + of the linux-yocto-2.6.37 kernel and then create a copy of + that clone. + The bare clone is named linux-yocto-2.6.37.git, while the + copy is named linux-yocto-2.6.37: $ git clone --bare git://git.yoctoproject.org/linux-yocto-2.6.37 linux-yocto-2.6.37.git Initialized empty Git repository in /home/scottrif/poky/linux-yocto-2.6.37.git/ @@ -127,14 +132,23 @@ $ git clone linux-yocto-2.6.37.git linux-yocto-2.6.37 Initialized empty Git repository in /home/scottrif/poky/linux-yocto-2.6.37/.git/ Checking out files: 100% (35188/35188), done. - - The final repository you need for kernel development is the - meta-kernel-dev Git repository. - This repository allows you to configure the build system so that you point to your - local area for the Linux Yocto kernel source files. - Pointing to these files locally is much more efficient than requiring a download of the - source files from upstream each time you build the kernel image: + + + The poky-extras Git Repository: + The poky-extras Git repository contains metadata needed to + build the kernel image. + In particular, it contains the kernel .bbappend files that you + edit to point to your locally modified kernel source files and to build kernel + image. + Pointing to these local files is much more efficient than requiring a download of the + source files from upstream each time you make changes to the kernel. + It is good practice to create this Git repository inside the Yocto Project + files Git repository. + Following is an example that creates the poky-extras Git + repository inside the Yocto Project files Git repository, which is named + poky in this case: + $ cd ~/poky $ git clone git://git.yoctoproject.org/poky-extras poky-extras Initialized empty Git repository in /home/scottrif/poky/poky-extras/.git/ remote: Counting objects: 531, done. -- cgit v1.2.3-54-g00ecf