diff options
Diffstat (limited to 'documentation/ref-manual')
| -rw-r--r-- | documentation/ref-manual/ref-classes.xml | 43 |
1 files changed, 22 insertions, 21 deletions
diff --git a/documentation/ref-manual/ref-classes.xml b/documentation/ref-manual/ref-classes.xml index e2f1611b5b..a03a68b6e9 100644 --- a/documentation/ref-manual/ref-classes.xml +++ b/documentation/ref-manual/ref-classes.xml | |||
| @@ -328,51 +328,52 @@ | |||
| 328 | </para> | 328 | </para> |
| 329 | 329 | ||
| 330 | <para> | 330 | <para> |
| 331 | If you take the optional step to set up a repository (package feed) | ||
| 332 | on the development host that can be used by Smart, you can | ||
| 333 | install packages from the feed while you are running the image | ||
| 334 | on the target (i.e. runtime installation of packages). | ||
| 335 | For information on how to set up this repository, see the | ||
| 336 | "<ulink url='&YOCTO_DOCS_DEV_URL;#setting-up-runtime-package-management'>Setting Up Runtime Package Management</ulink>" | ||
| 337 | in the Yocto Project Development Manual. | ||
| 338 | </para> | ||
| 339 | |||
| 340 | <para> | ||
| 331 | The package class you choose can affect build-time performance and has space | 341 | The package class you choose can affect build-time performance and has space |
| 332 | ramifications. | 342 | ramifications. |
| 333 | In general, building a package with IPK takes about thirty percent less | 343 | In general, building a package with IPK takes about thirty percent less |
| 334 | time as compared to using RPM to build the same or similar package. | 344 | time as compared to using RPM to build the same or similar package. |
| 335 | This comparison takes into account a complete build of the package with | 345 | This comparison takes into account a complete build of the package with |
| 336 | all dependencies previously built. | 346 | all dependencies previously built. |
| 337 | The reason for this discrepancy is because the RPM package manager | 347 | The reason for this discrepancy is because the RPM package manager |
| 338 | creates and processes more | 348 | creates and processes more |
| 339 | <ulink url='&YOCTO_DOCS_DEV_URL;#metadata'>Metadata</ulink> than the | 349 | <ulink url='&YOCTO_DOCS_DEV_URL;#metadata'>Metadata</ulink> than the |
| 340 | IPK package manager. | 350 | IPK package manager. |
| 341 | Consequently, you might consider setting <filename>PACKAGE_CLASSES</filename> | 351 | Consequently, you might consider setting <filename>PACKAGE_CLASSES</filename> |
| 342 | to "package_ipk" if you are building smaller systems. | 352 | to "package_ipk" if you are building smaller systems. |
| 343 | </para> | 353 | </para> |
| 344 | 354 | ||
| 345 | <para> | 355 | <para> |
| 346 | Before making your decision on package manager, however, you should | 356 | Before making your decision on package manager, however, you should |
| 347 | consider some further things about using RPM: | 357 | consider some further things about using RPM: |
| 348 | <itemizedlist> | 358 | <itemizedlist> |
| 349 | <listitem><para> | 359 | <listitem><para> |
| 350 | RPM starts to provide more abilities than IPK due to | 360 | RPM starts to provide more abilities than IPK due to |
| 351 | the fact that it processes more metadata. | 361 | the fact that it processes more metadata. |
| 352 | For example, this information includes individual file types, | 362 | For example, this information includes individual file types, |
| 353 | file checksum generation and evaluation on install, sparse file | 363 | file checksum generation and evaluation on install, sparse file |
| 354 | support, conflict detection and resolution for Multilib systems, | 364 | support, conflict detection and resolution for Multilib systems, |
| 355 | ACID style upgrade, and repackaging abilities for rollbacks. | 365 | ACID style upgrade, and repackaging abilities for rollbacks. |
| 356 | </para></listitem> | 366 | </para></listitem> |
| 357 | <listitem><para> | 367 | <listitem><para> |
| 358 | For smaller systems, the extra space used for the Berkley | 368 | For smaller systems, the extra space used for the Berkley |
| 359 | Database and the amount of metadata when using RPM can affect | 369 | Database and the amount of metadata when using RPM can affect |
| 360 | your ability to perform on-device upgrades. | 370 | your ability to perform on-device upgrades. |
| 361 | </para></listitem> | 371 | </para></listitem> |
| 362 | <listitem><para> | 372 | </itemizedlist> |
| 363 | If you take the steps to set up a repository (package feed) | ||
| 364 | on the development host that can be used by Smart, you can | ||
| 365 | install packages from the feed while you are running the image | ||
| 366 | on the target (i.e. runtime installation of packages). | ||
| 367 | For information on how to set up this repository, see the | ||
| 368 | "<ulink url='&YOCTO_DOCS_DEV_URL;#setting-up-runtime-package-management'>Setting Up Runtime Package Management</ulink>" | ||
| 369 | in the Yocto Project Development Manual. | ||
| 370 | </para></listitem> | ||
| 371 | </itemizedlist> | ||
| 372 | </para> | 373 | </para> |
| 373 | 374 | ||
| 374 | <para> | 375 | <para> |
| 375 | You can find additional information on the effects of the package | 376 | You can find additional information on the effects of the package |
| 376 | class at these two Yocto Project mailing list links: | 377 | class at these two Yocto Project mailing list links: |
| 377 | <itemizedlist> | 378 | <itemizedlist> |
| 378 | <listitem><para><ulink url='&YOCTO_LISTS_URL;/pipermail/poky/2011-May/006362.html'> | 379 | <listitem><para><ulink url='&YOCTO_LISTS_URL;/pipermail/poky/2011-May/006362.html'> |
