diff options
Diffstat (limited to 'documentation')
| -rw-r--r-- | documentation/ref-manual/ref-devtool-reference.xml | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/documentation/ref-manual/ref-devtool-reference.xml b/documentation/ref-manual/ref-devtool-reference.xml index 1764f0196f..90330f1a35 100644 --- a/documentation/ref-manual/ref-devtool-reference.xml +++ b/documentation/ref-manual/ref-devtool-reference.xml | |||
| @@ -215,6 +215,17 @@ | |||
| 215 | The <filename>.bbappend</filename> file is created to point | 215 | The <filename>.bbappend</filename> file is created to point |
| 216 | to the external source tree. | 216 | to the external source tree. |
| 217 | </para> | 217 | </para> |
| 218 | |||
| 219 | <note> | ||
| 220 | If your recipe has runtime dependencies defined, you must be sure | ||
| 221 | that these packages exist on the target hardware before attempting | ||
| 222 | to run your application. | ||
| 223 | If dependent packages (e.g. libraries) do not exist on the target, | ||
| 224 | your application, when run, will fail to find those functions. | ||
| 225 | For more information, see the | ||
| 226 | "<link linkend='devtool-deploying-your-software-on-the-target-machine'>Deploying Your Software on the Target Machine</link>" | ||
| 227 | section. | ||
| 228 | </note> | ||
| 218 | </section> | 229 | </section> |
| 219 | 230 | ||
| 220 | <section id='devtool-extracting-the-source-for-an-existing-recipe'> | 231 | <section id='devtool-extracting-the-source-for-an-existing-recipe'> |
| @@ -501,6 +512,40 @@ | |||
| 501 | </para> | 512 | </para> |
| 502 | </note> | 513 | </note> |
| 503 | </para> | 514 | </para> |
| 515 | |||
| 516 | <para> | ||
| 517 | Some conditions exist that could prevent a deployed application | ||
| 518 | from behaving as expected. | ||
| 519 | When both of the following conditions exist, your application has | ||
| 520 | the potential to not behave correctly when run on the target: | ||
| 521 | <itemizedlist> | ||
| 522 | <listitem><para> | ||
| 523 | You are deploying a new application to the target that | ||
| 524 | has correctly defined runtime dependencies defined in | ||
| 525 | recipe you used to build the application. | ||
| 526 | </para></listitem> | ||
| 527 | <listitem><para> | ||
| 528 | The target does not physically have the packages on which | ||
| 529 | the application depends installed. | ||
| 530 | </para></listitem> | ||
| 531 | </itemizedlist> | ||
| 532 | If both of these conditions exist, your application will not | ||
| 533 | behave as expected. | ||
| 534 | The reason for this misbehavior is because the | ||
| 535 | <filename>devtool deploy-target</filename> command does not deploy | ||
| 536 | the packages (e.g. libraries) on which your new application | ||
| 537 | depends. | ||
| 538 | The assumption is that the packages are already on the target. | ||
| 539 | Consequently, when a runtime call is made in the application | ||
| 540 | for a dependent function (e.g. a library call), the function | ||
| 541 | cannot be found. | ||
| 542 | </para> | ||
| 543 | |||
| 544 | <para> | ||
| 545 | To be sure you have all the dependencies local to the target, you | ||
| 546 | need to be sure that the packages are pre-deployed (installed) | ||
| 547 | on the target before attempting to run your application. | ||
| 548 | </para> | ||
| 504 | </section> | 549 | </section> |
| 505 | 550 | ||
| 506 | <section id='devtool-removing-your-software-from-the-target-machine'> | 551 | <section id='devtool-removing-your-software-from-the-target-machine'> |
