mirror of
https://git.yoctoproject.org/poky
synced 2026-06-03 13:49:49 +00:00
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 <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
1cafae44ec
commit
d14ab10f5b
@@ -109,10 +109,15 @@
|
|||||||
If you are going to be making modifications to a supported Linux Yocto kernel you
|
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.
|
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
|
This setup involves creating a bare clone of the Linux Yocto kernel and then cloning
|
||||||
that repository.</para>
|
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.</para>
|
||||||
<para>As an example, the following transcript shows how to create the bare clone
|
<para>As an example, the following transcript shows how to create the bare clone
|
||||||
of the <filename>linux-yocto-2.6.37</filename> kernel and then create a clone of
|
of the <filename>linux-yocto-2.6.37</filename> kernel and then create a copy of
|
||||||
that repository:
|
that clone.
|
||||||
|
The bare clone is named <filename>linux-yocto-2.6.37.git</filename>, while the
|
||||||
|
copy is named <filename>linux-yocto-2.6.37</filename>:
|
||||||
<literallayout class='monospaced'>
|
<literallayout class='monospaced'>
|
||||||
$ git clone --bare git://git.yoctoproject.org/linux-yocto-2.6.37 linux-yocto-2.6.37.git
|
$ 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/
|
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
|
$ 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/
|
Initialized empty Git repository in /home/scottrif/poky/linux-yocto-2.6.37/.git/
|
||||||
Checking out files: 100% (35188/35188), done.
|
Checking out files: 100% (35188/35188), done.
|
||||||
</literallayout></para>
|
</literallayout></para></listitem>
|
||||||
<para>The final repository you need for kernel development is the
|
<listitem id='poky-extras-repo'><para><emphasis>
|
||||||
<filename>meta-kernel-dev</filename> Git repository.
|
The <filename>poky-extras</filename> Git Repository</emphasis>:
|
||||||
This repository allows you to configure the build system so that you point to your
|
The <filename>poky-extras</filename> Git repository contains metadata needed to
|
||||||
local area for the Linux Yocto kernel source files.
|
build the kernel image.
|
||||||
Pointing to these files locally is much more efficient than requiring a download of the
|
In particular, it contains the kernel <filename>.bbappend</filename> files that you
|
||||||
source files from upstream each time you build the kernel image:
|
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.</para>
|
||||||
|
<para>It is good practice to create this Git repository inside the Yocto Project
|
||||||
|
files Git repository.
|
||||||
|
Following is an example that creates the <filename>poky-extras</filename> Git
|
||||||
|
repository inside the Yocto Project files Git repository, which is named
|
||||||
|
<filename>poky</filename> in this case:
|
||||||
<literallayout class='monospaced'>
|
<literallayout class='monospaced'>
|
||||||
|
$ cd ~/poky
|
||||||
$ git clone git://git.yoctoproject.org/poky-extras poky-extras
|
$ git clone git://git.yoctoproject.org/poky-extras poky-extras
|
||||||
Initialized empty Git repository in /home/scottrif/poky/poky-extras/.git/
|
Initialized empty Git repository in /home/scottrif/poky/poky-extras/.git/
|
||||||
remote: Counting objects: 531, done.
|
remote: Counting objects: 531, done.
|
||||||
|
|||||||
Reference in New Issue
Block a user