brief-yoctoprojectqs, dev-manual: Updated poky clone examples.

The examples in these manuals for checkout of poky by tag need
to be updated immediately after a release.  The reason is that the
examples use recent tags.  I have updated both the examples
that show how to checkout poky based on a specific tag.  This
particular commit makes the YP 2.5.2 release examples correct.
Note, that I use &DISTRO; ENTITY variables to do this but timing
for when they are correct for a release needs to be monitored.

(From yocto-docs rev: 2a3980300465488ef36bf2fc0d034c968ce96e34)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Scott Rifenbark
2019-01-15 10:34:01 -08:00
committed by Richard Purdie
parent 9e28f5aeb0
commit 58e82c4510
2 changed files with 45 additions and 21 deletions

View File

@@ -131,19 +131,43 @@
<literallayout class='monospaced'>
$ git clone git://git.yoctoproject.org/poky
Cloning into 'poky'...
remote: Counting objects: 361782, done.
remote: Compressing objects: 100% (87100/87100), done.
remote: Total 361782 (delta 268619), reused 361439 (delta 268277)
Receiving objects: 100% (361782/361782), 131.94 MiB | 6.88 MiB/s, done.
Resolving deltas: 100% (268619/268619), done.
remote: Counting objects: 428741, done.
remote: Compressing objects: 100% (101285/101285), done.
remote: Total 428741 (delta 320552), reused 428579 (delta 320390)
Receiving objects: 100% (428741/428741), 153.04 MiB | 27.16 MiB/s, done.
Resolving deltas: 100% (320552/320552), done.
Checking connectivity... done.
$ git checkout tags/yocto-2.5 -b my-yocto-2.5
</literallayout>
The previous Git checkout command creates a local branch
named my-&DISTRO_REL_TAG;. The files available to you in that
branch exactly match the repository's files in the
"&DISTRO_NAME_NO_CAP;" development branch at the time of the
Yocto Project &DISTRO; release.
Move to the poky directory and take a look at the tags:
<literallayout class='monospaced'>
$ cd poky
$ git fetch --tags
$ git tag
1.1_M1.final
1.1_M1.rc1
1.1_M1.rc2
1.1_M2.final
1.1_M2.rc1
.
.
.
yocto-2.5
yocto-2.5.1
yocto-2.5.2
yocto-2.6
yocto_1.5_M5.rc8
</literallayout>
For this example, check out the branch based on the
yocto-&DISTRO; release:
<literallayout class='monospaced'>
$ git checkout tags/yocto-&DISTRO; -b my-yocto-&DISTRO;
Switched to a new branch 'my-yocto-&DISTRO;'
</literallayout>
The previous Git checkout command creates a local branch named
my-yocto-&DISTRO;.
The files available to you in that branch exactly match the
repository's files in the "&DISTRO_NAME_NO_CAP;" development
branch at the time of the Yocto Project yocto-&DISTRO; release.
</para>
<para>

View File

@@ -881,11 +881,11 @@
<literallayout class='monospaced'>
$ git clone git://git.yoctoproject.org/poky
Cloning into 'poky'...
remote: Counting objects: 367178, done.
remote: Compressing objects: 100% (88161/88161), done.
remote: Total 367178 (delta 272761), reused 366942 (delta 272525)
Receiving objects: 100% (367178/367178), 133.26 MiB | 6.40 MiB/s, done.
Resolving deltas: 100% (272761/272761), done.
remote: Counting objects: 428741, done.
remote: Compressing objects: 100% (101285/101285), done.
remote: Total 428741 (delta 320552), reused 428579 (delta 320390)
Receiving objects: 100% (428741/428741), 153.04 MiB | 27.16 MiB/s, done.
Resolving deltas: 100% (320552/320552), done.
Checking connectivity... done.
</literallayout>
Unless you specify a specific development branch or
@@ -1048,11 +1048,11 @@
.
.
.
yocto-2.2
yocto-2.2.1
yocto-2.3
yocto-2.3.1
yocto-2.4
yocto-2.4.4
yocto-2.5
yocto-2.5.1
yocto-2.5.2
yocto-2.6
yocto_1.5_M5.rc8
</literallayout>
</para></listitem>