1
0
mirror of https://git.yoctoproject.org/poky synced 2026-06-01 13:09:50 +00:00

documentation/dev-manual/dev-manual-kernel-appendix.xml: Fix example

The exmample that sets up poky-extras was not putting the user
in the proper directory.  I updated the cd command to place them
in poky-extras before checking out the branch.

(From yocto-docs rev: 4860ddacc1fc593e0c5b48b399638ab1ecdb1f94)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Scott Rifenbark
2012-06-20 07:07:53 -07:00
committed by Richard Purdie
parent 35d25f853c
commit bf46fa7d50
@@ -180,18 +180,18 @@
From inside the repository you can see the branch names and the tag names used From inside the repository you can see the branch names and the tag names used
in the Git repository using either of the following two commands: in the Git repository using either of the following two commands:
<literallayout class='monospaced'> <literallayout class='monospaced'>
$ cd poky $ cd poky/poky-extras
$ git branch -a $ git branch -a
$ git tag -l $ git tag -l
</literallayout> </literallayout>
This example uses the Yocto Project 1.1.1 Release code named "edison", This example uses the Yocto Project &DISTRO; Release code named "&DISTRO_NAME;",
which maps to the <filename>edison</filename> branch in the repository. which maps to the <filename>&DISTRO_NAME;</filename> branch in the repository.
The following commands create and checkout the local <filename>edison</filename> The following commands create and checkout the local <filename>&DISTRO_NAME;</filename>
branch: branch:
<literallayout class='monospaced'> <literallayout class='monospaced'>
$ git checkout -b edison origin/edison $ git checkout -b &DISTRO_NAME; origin/&DISTRO_NAME;
Branch edison set up to track remote branch edison from origin. Branch &DISTRO_NAME; set up to track remote branch &DISTRO_NAME; from origin.
Switched to a new branch 'edison' Switched to a new branch '&DISTRO_NAME;'
</literallayout> </literallayout>
</para> </para>
</section> </section>