mirror of
https://git.yoctoproject.org/poky
synced 2026-06-02 01:19:52 +00:00
documentation/dev-manual/dev-manual-kernel-appendix.xml: Added branch step
The example did not specify to switch to the "denzil" branch after establishing the local repo of poky-extras. The example will not work without this step. (From yocto-docs rev: 90071570bca2edfceb4adb91bdd9093c095c8825) 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
2282764f51
commit
8bcbd30a71
@@ -178,6 +178,21 @@
|
|||||||
<filename>poky-extras</filename> Git Repository</link>"
|
<filename>poky-extras</filename> Git Repository</link>"
|
||||||
for information on how to get the <filename>poky-extras</filename> repository.
|
for information on how to get the <filename>poky-extras</filename> repository.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
<para>
|
||||||
|
Because this example uses the Yocto Project &DISTRO; Release code
|
||||||
|
named "&DISTRO_NAME;", which maps to the <filename>&DISTRO_NAME;</filename>
|
||||||
|
branch in the repository, you need to be sure you are using that
|
||||||
|
branch for <filename>poky-extra</filename>.
|
||||||
|
The following commands create and checkout the local
|
||||||
|
branch you are using for the <filename>&DISTRO_NAME;</filename>
|
||||||
|
branch:
|
||||||
|
<literallayout class='monospaced'>
|
||||||
|
$ git checkout -b &DISTRO_NAME; origin/&DISTRO_NAME;
|
||||||
|
Branch &DISTRO_NAME; set up to track remote branch &DISTRO_NAME; from origin.
|
||||||
|
Switched to a new branch '&DISTRO_NAME;'
|
||||||
|
</literallayout>
|
||||||
|
</para>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section id='setting-up-the-bare-clone-and-its-copy'>
|
<section id='setting-up-the-bare-clone-and-its-copy'>
|
||||||
|
|||||||
Reference in New Issue
Block a user