diff options
author | Scott Rifenbark <scott.m.rifenbark@intel.com> | 2014-05-09 19:19:47 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-05-13 07:50:58 +0100 |
commit | 1e5c7224dadd4d74dfe1ae81058bfc6988e1d64b (patch) | |
tree | b768f11fb686b014423eef103da691910635c595 /documentation/ref-manual/ref-tasks.xml | |
parent | 7e5116d3f706eaf1490f9989993ee53cf8c78ec8 (diff) | |
download | poky-1e5c7224dadd4d74dfe1ae81058bfc6988e1d64b.tar.gz |
ref-manual: Edits to the task chapter.
Minor edits based on feedback from Paul Eggleton.
(From yocto-docs rev: 71bd6b3e0c8f7abcd753240fd8a503b62443ad74)
Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/ref-manual/ref-tasks.xml')
-rw-r--r-- | documentation/ref-manual/ref-tasks.xml | 83 |
1 files changed, 59 insertions, 24 deletions
diff --git a/documentation/ref-manual/ref-tasks.xml b/documentation/ref-manual/ref-tasks.xml index 5bff93b1c5..a62b7ce9a6 100644 --- a/documentation/ref-manual/ref-tasks.xml +++ b/documentation/ref-manual/ref-tasks.xml | |||
@@ -88,8 +88,6 @@ | |||
88 | <link linkend='var-SRC_URI'><filename>SRC_URI</filename></link> | 88 | <link linkend='var-SRC_URI'><filename>SRC_URI</filename></link> |
89 | variable and the argument's prefix to determine the correct | 89 | variable and the argument's prefix to determine the correct |
90 | fetcher module. | 90 | fetcher module. |
91 | Unpacked source files reside in the | ||
92 | <link linkend='var-S'><filename>S</filename></link> directory. | ||
93 | </para> | 91 | </para> |
94 | </section> | 92 | </section> |
95 | 93 | ||
@@ -123,16 +121,6 @@ | |||
123 | </para> | 121 | </para> |
124 | </section> | 122 | </section> |
125 | 123 | ||
126 | <section id='ref-tasks-package_index'> | ||
127 | <title><filename>do_package_index</filename></title> | ||
128 | |||
129 | <para> | ||
130 | Creates or updates the index in the | ||
131 | <link linkend='package-feeds-dev-environment'>Package Feeds</link> | ||
132 | area. | ||
133 | </para> | ||
134 | </section> | ||
135 | |||
136 | <section id='ref-tasks-package_write_deb'> | 124 | <section id='ref-tasks-package_write_deb'> |
137 | <title><filename>do_package_write_deb</filename></title> | 125 | <title><filename>do_package_write_deb</filename></title> |
138 | 126 | ||
@@ -249,10 +237,16 @@ | |||
249 | <title><filename>do_unpack</filename></title> | 237 | <title><filename>do_unpack</filename></title> |
250 | 238 | ||
251 | <para> | 239 | <para> |
252 | Unpacks the source code into a working directory. | 240 | Unpacks the source code into a working directory pointed to |
253 | For more information on fetching and unpacking source files, see the | 241 | by |
242 | <filename>${</filename><link linkend='var-WORKDIR'><filename>WORKDIR</filename></link><filename>}</filename>. | ||
243 | The | ||
244 | <link linkend='var-S'><filename>S</filename></link> variable also | ||
245 | plays a role in where unpacked source files ultimately reside. | ||
246 | For more information on how source files are unpacked, see the | ||
254 | "<link linkend='source-fetching-dev-environment'>Source Fetching</link>" | 247 | "<link linkend='source-fetching-dev-environment'>Source Fetching</link>" |
255 | section. | 248 | section and the <filename>WORKDIR</filename> and |
249 | <filename>S</filename> variable descriptions. | ||
256 | </para> | 250 | </para> |
257 | </section> | 251 | </section> |
258 | </section> | 252 | </section> |
@@ -262,7 +256,7 @@ | |||
262 | 256 | ||
263 | <para> | 257 | <para> |
264 | These tasks are typically manually triggered (e.g. by using the | 258 | These tasks are typically manually triggered (e.g. by using the |
265 | <filename>bitbake -c</filename> command line option): | 259 | <filename>bitbake -c</filename> command-line option): |
266 | </para> | 260 | </para> |
267 | 261 | ||
268 | <section id='ref-tasks-checkuri'> | 262 | <section id='ref-tasks-checkuri'> |
@@ -290,6 +284,16 @@ | |||
290 | 284 | ||
291 | <para> | 285 | <para> |
292 | Removes all output files for a target. | 286 | Removes all output files for a target. |
287 | When this task is run, the | ||
288 | <link linkend='shared-state-cache'>sstate</link>) cache | ||
289 | files are not deleted. | ||
290 | Consequently, if no changes have been made and the recipe is | ||
291 | rebuilt after cleaning, output files are simply restored from the | ||
292 | sstate cache. | ||
293 | If you want to remove the sstate cache files for the recipe, | ||
294 | you need to use the | ||
295 | <link linkend='ref-tasks-cleansstate'><filename>do_cleansstate</filename></link> | ||
296 | task instead (i.e. <filename>bitbake -c cleansstate <recipe></filename>). | ||
293 | </para> | 297 | </para> |
294 | </section> | 298 | </section> |
295 | 299 | ||
@@ -313,14 +317,6 @@ | |||
313 | </para> | 317 | </para> |
314 | </section> | 318 | </section> |
315 | 319 | ||
316 | <section id='ref-tasks-fetchall'> | ||
317 | <title><filename>do_fetchall</filename></title> | ||
318 | |||
319 | <para> | ||
320 | Fetches all remote sources required to build a target. | ||
321 | </para> | ||
322 | </section> | ||
323 | |||
324 | <section id='ref-tasks-devshell'> | 320 | <section id='ref-tasks-devshell'> |
325 | <title><filename>do_devshell</filename></title> | 321 | <title><filename>do_devshell</filename></title> |
326 | 322 | ||
@@ -334,6 +330,14 @@ | |||
334 | </para> | 330 | </para> |
335 | </section> | 331 | </section> |
336 | 332 | ||
333 | <section id='ref-tasks-fetchall'> | ||
334 | <title><filename>do_fetchall</filename></title> | ||
335 | |||
336 | <para> | ||
337 | Fetches all remote sources required to build a target. | ||
338 | </para> | ||
339 | </section> | ||
340 | |||
337 | <section id='ref-tasks-listtasks'> | 341 | <section id='ref-tasks-listtasks'> |
338 | <title><filename>do_listtasks</filename></title> | 342 | <title><filename>do_listtasks</filename></title> |
339 | 343 | ||
@@ -341,6 +345,25 @@ | |||
341 | Lists all defined tasks for a target. | 345 | Lists all defined tasks for a target. |
342 | </para> | 346 | </para> |
343 | </section> | 347 | </section> |
348 | |||
349 | <section id='ref-tasks-package_index'> | ||
350 | <title><filename>do_package_index</filename></title> | ||
351 | |||
352 | <para> | ||
353 | Creates or updates the index in the | ||
354 | <link linkend='package-feeds-dev-environment'>Package Feeds</link> | ||
355 | area. | ||
356 | <note> | ||
357 | This task is not triggered with the | ||
358 | <filename>bitbake -c</filename> command-line option as | ||
359 | are the other tasks in this section. | ||
360 | Because this task is specifically for the | ||
361 | <filename>package-index</filename> recipe, | ||
362 | you run it using | ||
363 | <filename>bitbake package-index</filename>. | ||
364 | </note> | ||
365 | </para> | ||
366 | </section> | ||
344 | </section> | 367 | </section> |
345 | 368 | ||
346 | <section id='image-related-tasks'> | 369 | <section id='image-related-tasks'> |
@@ -390,6 +413,9 @@ | |||
390 | 413 | ||
391 | <para> | 414 | <para> |
392 | Boots an image and performs runtime tests within the image. | 415 | Boots an image and performs runtime tests within the image. |
416 | For information on automatically testing images, see the | ||
417 | "<ulink url='&YOCTO_DOCS_DEV_URL;#performing-automated-runtime-testing'>Performing Automated Runtime Testing</ulink>" | ||
418 | section in the Yocto Project Development Manual. | ||
393 | </para> | 419 | </para> |
394 | </section> | 420 | </section> |
395 | 421 | ||
@@ -399,6 +425,15 @@ | |||
399 | <para> | 425 | <para> |
400 | Boots an image and performs runtime tests within the image | 426 | Boots an image and performs runtime tests within the image |
401 | immediately after it has been built. | 427 | immediately after it has been built. |
428 | This task is enabled when you set | ||
429 | <link linkend='var-TEST_IMAGE'><filename>TEST_IMAGE</filename></link> | ||
430 | equal to "1". | ||
431 | </para> | ||
432 | |||
433 | <para> | ||
434 | For information on automatically testing images, see the | ||
435 | "<ulink url='&YOCTO_DOCS_DEV_URL;#performing-automated-runtime-testing'>Performing Automated Runtime Testing</ulink>" | ||
436 | section in the Yocto Project Development Manual. | ||
402 | </para> | 437 | </para> |
403 | </section> | 438 | </section> |
404 | 439 | ||