diff options
author | Scott Rifenbark <srifenbark@gmail.com> | 2019-01-15 10:34:01 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-01-16 15:35:54 +0000 |
commit | 58e82c451071d0e257da6088cf643e636282084c (patch) | |
tree | 9beddbafaa7f1bb9cc88a7bcb656a0fcbb7a14bb /documentation | |
parent | 9e28f5aeb02466c5a1bbef3ae75ecd1297d5d860 (diff) | |
download | poky-58e82c451071d0e257da6088cf643e636282084c.tar.gz |
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>
Diffstat (limited to 'documentation')
-rw-r--r-- | documentation/brief-yoctoprojectqs/brief-yoctoprojectqs.xml | 46 | ||||
-rw-r--r-- | documentation/dev-manual/dev-manual-start.xml | 20 |
2 files changed, 45 insertions, 21 deletions
diff --git a/documentation/brief-yoctoprojectqs/brief-yoctoprojectqs.xml b/documentation/brief-yoctoprojectqs/brief-yoctoprojectqs.xml index 62c4964f5f..d7206d2b97 100644 --- a/documentation/brief-yoctoprojectqs/brief-yoctoprojectqs.xml +++ b/documentation/brief-yoctoprojectqs/brief-yoctoprojectqs.xml | |||
@@ -131,19 +131,43 @@ | |||
131 | <literallayout class='monospaced'> | 131 | <literallayout class='monospaced'> |
132 | $ git clone git://git.yoctoproject.org/poky | 132 | $ git clone git://git.yoctoproject.org/poky |
133 | Cloning into 'poky'... | 133 | Cloning into 'poky'... |
134 | remote: Counting objects: 361782, done. | 134 | remote: Counting objects: 428741, done. |
135 | remote: Compressing objects: 100% (87100/87100), done. | 135 | remote: Compressing objects: 100% (101285/101285), done. |
136 | remote: Total 361782 (delta 268619), reused 361439 (delta 268277) | 136 | remote: Total 428741 (delta 320552), reused 428579 (delta 320390) |
137 | Receiving objects: 100% (361782/361782), 131.94 MiB | 6.88 MiB/s, done. | 137 | Receiving objects: 100% (428741/428741), 153.04 MiB | 27.16 MiB/s, done. |
138 | Resolving deltas: 100% (268619/268619), done. | 138 | Resolving deltas: 100% (320552/320552), done. |
139 | Checking connectivity... done. | 139 | Checking connectivity... done. |
140 | $ git checkout tags/yocto-2.5 -b my-yocto-2.5 | ||
141 | </literallayout> | 140 | </literallayout> |
142 | The previous Git checkout command creates a local branch | 141 | Move to the poky directory and take a look at the tags: |
143 | named my-&DISTRO_REL_TAG;. The files available to you in that | 142 | <literallayout class='monospaced'> |
144 | branch exactly match the repository's files in the | 143 | $ cd poky |
145 | "&DISTRO_NAME_NO_CAP;" development branch at the time of the | 144 | $ git fetch --tags |
146 | Yocto Project &DISTRO; release. | 145 | $ git tag |
146 | 1.1_M1.final | ||
147 | 1.1_M1.rc1 | ||
148 | 1.1_M1.rc2 | ||
149 | 1.1_M2.final | ||
150 | 1.1_M2.rc1 | ||
151 | . | ||
152 | . | ||
153 | . | ||
154 | yocto-2.5 | ||
155 | yocto-2.5.1 | ||
156 | yocto-2.5.2 | ||
157 | yocto-2.6 | ||
158 | yocto_1.5_M5.rc8 | ||
159 | </literallayout> | ||
160 | For this example, check out the branch based on the | ||
161 | yocto-&DISTRO; release: | ||
162 | <literallayout class='monospaced'> | ||
163 | $ git checkout tags/yocto-&DISTRO; -b my-yocto-&DISTRO; | ||
164 | Switched to a new branch 'my-yocto-&DISTRO;' | ||
165 | </literallayout> | ||
166 | The previous Git checkout command creates a local branch named | ||
167 | my-yocto-&DISTRO;. | ||
168 | The files available to you in that branch exactly match the | ||
169 | repository's files in the "&DISTRO_NAME_NO_CAP;" development | ||
170 | branch at the time of the Yocto Project yocto-&DISTRO; release. | ||
147 | </para> | 171 | </para> |
148 | 172 | ||
149 | <para> | 173 | <para> |
diff --git a/documentation/dev-manual/dev-manual-start.xml b/documentation/dev-manual/dev-manual-start.xml index d8726b4857..472533a85e 100644 --- a/documentation/dev-manual/dev-manual-start.xml +++ b/documentation/dev-manual/dev-manual-start.xml | |||
@@ -881,11 +881,11 @@ | |||
881 | <literallayout class='monospaced'> | 881 | <literallayout class='monospaced'> |
882 | $ git clone git://git.yoctoproject.org/poky | 882 | $ git clone git://git.yoctoproject.org/poky |
883 | Cloning into 'poky'... | 883 | Cloning into 'poky'... |
884 | remote: Counting objects: 367178, done. | 884 | remote: Counting objects: 428741, done. |
885 | remote: Compressing objects: 100% (88161/88161), done. | 885 | remote: Compressing objects: 100% (101285/101285), done. |
886 | remote: Total 367178 (delta 272761), reused 366942 (delta 272525) | 886 | remote: Total 428741 (delta 320552), reused 428579 (delta 320390) |
887 | Receiving objects: 100% (367178/367178), 133.26 MiB | 6.40 MiB/s, done. | 887 | Receiving objects: 100% (428741/428741), 153.04 MiB | 27.16 MiB/s, done. |
888 | Resolving deltas: 100% (272761/272761), done. | 888 | Resolving deltas: 100% (320552/320552), done. |
889 | Checking connectivity... done. | 889 | Checking connectivity... done. |
890 | </literallayout> | 890 | </literallayout> |
891 | Unless you specify a specific development branch or | 891 | Unless you specify a specific development branch or |
@@ -1048,11 +1048,11 @@ | |||
1048 | . | 1048 | . |
1049 | . | 1049 | . |
1050 | . | 1050 | . |
1051 | yocto-2.2 | 1051 | yocto-2.4.4 |
1052 | yocto-2.2.1 | 1052 | yocto-2.5 |
1053 | yocto-2.3 | 1053 | yocto-2.5.1 |
1054 | yocto-2.3.1 | 1054 | yocto-2.5.2 |
1055 | yocto-2.4 | 1055 | yocto-2.6 |
1056 | yocto_1.5_M5.rc8 | 1056 | yocto_1.5_M5.rc8 |
1057 | </literallayout> | 1057 | </literallayout> |
1058 | </para></listitem> | 1058 | </para></listitem> |