For simplicity, it is recommended that you create these structures outside of the
source directory (usually <filename>poky</filename>).</para>
<para>As an example, the following transcript shows how to create the bare clone
- of the <filename>linux-yocto-3.2</filename> kernel and then create a copy of
+ of the <filename>linux-yocto-3.4</filename> kernel and then create a copy of
that clone.
<note>When you have a local Yocto Project kernel Git repository, you can
reference that repository rather than the upstream Git repository as
part of the <filename>clone</filename> command.
Doing so can speed up the process.</note></para>
<para>In the following example, the bare clone is named
- <filename>linux-yocto-3.2.git</filename>, while the
- copy is named <filename>my-linux-yocto-3.2-work</filename>:
+ <filename>linux-yocto-3.4.git</filename>, while the
+ copy is named <filename>my-linux-yocto-3.4-work</filename>:
<literallayout class='monospaced'>
- $ git clone --bare git://git.yoctoproject.org/linux-yocto-3.2 linux-yocto-3.2.git
- Initialized empty Git repository in /home/scottrif/linux-yocto-3.2.git/
+ $ git clone --bare git://git.yoctoproject.org/linux-yocto-3.4 linux-yocto-3.4.git
+ Initialized empty Git repository in /home/scottrif/linux-yocto-3.4.git/
remote: Counting objects: 2468027, done.
remote: Compressing objects: 100% (392255/392255), done.
remote: Total 2468027 (delta 2071693), reused 2448773 (delta 2052498)
</literallayout></para>
<para>Now create a clone of the bare clone just created:
<literallayout class='monospaced'>
- $ git clone linux-yocto-3.2.git my-linux-yocto-3.2-work
- Initialized empty Git repository in /home/scottrif/my-linux-yocto-3.2-work/.git/
+ $ git clone linux-yocto-3.4.git my-linux-yocto-3.4-work
+ Initialized empty Git repository in /home/scottrif/my-linux-yocto-3.4-work/.git/
Checking out files: 100% (37619/37619), done.
</literallayout></para></listitem>
<listitem id='poky-extras-repo'><para><emphasis>