From 7d208c1c77dbf079b66a28076174a08951b27549 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Wed, 14 Sep 2016 06:01:15 -0700 Subject: ref-manual: Applied review edits to auto added runtime deps Fixes [YOCTO #10248] Applied some review changes. Minor wording tweaks and typo fixes. (From yocto-docs rev: a9e99c8b44c48c74448487187cebfe8df331e9e1) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/ref-manual/ref-variables.xml | 11 +++++------ documentation/ref-manual/technical-details.xml | 20 +++++++++++--------- 2 files changed, 16 insertions(+), 15 deletions(-) (limited to 'documentation') diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index a10a0dca75..a97369dfad 100644 --- a/documentation/ref-manual/ref-variables.xml +++ b/documentation/ref-manual/ref-variables.xml @@ -10493,10 +10493,9 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" the do_package_write_* tasks. - Exactly how this is done depends on the package format used - as described in the - PACKAGE_CLASSES - variable. + Exactly how this is done depends on which package format + is used, which is determined by + PACKAGE_CLASSES. When the corresponding package manager installs the package, it will know to also install the packages on which it depends. @@ -10509,9 +10508,9 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" dependency to be added. This dependency is from the recipe's do_build - (not to be confused with the + (not to be confused with do_compile) - task to the to the do_package_write_* + task to the do_package_write_* task of the recipes that build bar and baz. diff --git a/documentation/ref-manual/technical-details.xml b/documentation/ref-manual/technical-details.xml index e5c8eb83b6..558af87d91 100644 --- a/documentation/ref-manual/technical-details.xml +++ b/documentation/ref-manual/technical-details.xml @@ -1022,15 +1022,17 @@ the package that depends on the shared library to the package that contains the library. - If the library being linked against is versioned - (i.e. includes a version number), then the automatically added - runtime dependency will specify at least that version, as if + The automatically added runtime dependency also includes + a version restriction. + This version restriction specifies that at least the current + version of the package that provides the shared library must be + used, as if "package (>= version)" had been added to RDEPENDS. - This dependency forces an upgrade of the package that provides - the shared library when installing the package that depends on - the library, if needed. + This forces an upgrade of the package containing the shared + library when installing the package that depends on the + library, if needed. If you want to avoid a package being registered as providing a particular shared library (e.g. because the library @@ -1054,8 +1056,8 @@ task. Simultaneously, all pkg-config modules installed by the - recipe are inspected to see what other modules on which the - pkg-config modules depend. + recipe are inspected to see what other pkg-config modules they + depend on. A module is seen as depending on another module if it contains a "Requires:" line that specifies the other module. For each module dependency, @@ -1078,7 +1080,7 @@ task of each recipe in DEPENDS through use of a - [vardeps] + [deptask] declaration, which guarantees that the required shared-library/module-to-package mapping information will be available when needed as long as DEPENDS has been -- cgit v1.2.3-54-g00ecf